home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 …ember: Reference Library / Dev.CD Dec 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / PT • Platforms & Tools / PT34 Signals < prev    next >
MacBinary  |  1994-10-19  |  40.3 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Oct 14 10:51:50 1994, modified Wed Oct 19 10:07:13 1994, creator 'HLX2', type 'ONLN', 38666 bytes "PT34 Signals" , at 0x978a 2194 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 50 54 33 34 20 53 | 69 67 6e 61 6c 73 00 00 |..PT34 S|ignals..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 97 0a 00 | 00 08 92 aa c4 4b 86 aa |........|.....K..|
|00000060| ca d8 91 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 88 20 00 00 |........|..... ..|
|00000080| 50 54 20 33 34 20 2d 20 | 53 69 67 6e 61 6c 73 0d |PT 34 - |Signals.|
|00000090| 50 6c 61 74 66 6f 72 6d | 73 20 26 20 54 6f 6f 6c |Platform|s & Tool|
|000000a0| 73 09 0d 52 65 76 69 73 | 65 64 20 62 79 3a 09 09 |s..Revis|ed by:..|
|000000b0| 4d 61 72 63 68 20 31 39 | 38 38 0d 57 72 69 74 74 |March 19|88.Writt|
|000000c0| 65 6e 20 62 79 3a 09 52 | 69 63 6b 20 42 6c 61 69 |en by:.R|ick Blai|
|000000d0| 72 09 41 75 67 75 73 74 | 20 31 39 38 36 0d 53 69 |r.August| 1986.Si|
|000000e0| 67 6e 61 6c 73 20 61 72 | 65 20 61 20 66 6f 72 6d |gnals ar|e a form|
|000000f0| 20 6f 66 20 69 6e 74 72 | 61 2d 70 72 6f 67 72 61 | of intr|a-progra|
|00000100| 6d 20 69 6e 74 65 72 72 | 75 70 74 20 77 68 69 63 |m interr|upt whic|
|00000110| 68 20 63 61 6e 20 67 72 | 65 61 74 6c 79 20 61 69 |h can gr|eatly ai|
|00000120| 64 20 63 6c 65 61 6e 2c | 20 69 6e 65 78 70 65 6e |d clean,| inexpen|
|00000130| 73 69 76 65 20 65 72 72 | 6f 72 20 74 72 61 70 70 |sive err|or trapp|
|00000140| 69 6e 67 20 69 6e 20 73 | 74 61 63 6b 20 66 72 61 |ing in s|tack fra|
|00000150| 6d 65 20 69 6e 74 65 6e | 73 69 76 65 20 6c 61 6e |me inten|sive lan|
|00000160| 67 75 61 67 65 73 2e 20 | 41 20 70 72 6f 67 72 61 |guages. |A progra|
|00000170| 6d 20 6d 61 79 20 69 6e | 76 6f 6b 65 20 74 68 65 |m may in|voke the|
|00000180| 20 53 69 67 6e 61 6c 20 | 70 72 6f 63 65 64 75 72 | Signal |procedur|
|00000190| 65 20 61 6e 64 20 69 6d | 6d 65 64 69 61 74 65 6c |e and im|mediatel|
|000001a0| 79 20 72 65 74 75 72 6e | 20 74 6f 20 74 68 65 20 |y return| to the |
|000001b0| 6c 61 73 74 20 69 6e 76 | 6f 63 61 74 69 6f 6e 20 |last inv|ocation |
|000001c0| 6f 66 20 43 61 74 63 68 | 53 69 67 6e 61 6c 2c 20 |of Catch|Signal, |
|000001d0| 69 6e 63 6c 75 64 69 6e | 67 20 74 68 65 20 63 6f |includin|g the co|
|000001e0| 6d 70 6c 65 74 65 20 73 | 74 61 63 6b 20 66 72 61 |mplete s|tack fra|
|000001f0| 6d 65 20 73 74 61 74 65 | 20 61 74 20 74 68 61 74 |me state| at that|
|00000200| 20 70 6f 69 6e 74 2e 0d | 53 69 67 6e 61 6c 73 20 | point..|Signals |
|00000210| 61 6c 6c 6f 77 20 61 20 | 70 72 6f 67 72 61 6d 20 |allow a |program |
|00000220| 74 6f 20 6c 65 61 76 65 | 20 6f 66 66 20 65 78 65 |to leave| off exe|
|00000230| 63 75 74 69 6f 6e 20 61 | 74 20 6f 6e 65 20 70 6f |cution a|t one po|
|00000240| 69 6e 74 20 61 6e 64 20 | 72 65 74 75 72 6e 20 63 |int and |return c|
|00000250| 6f 6e 74 72 6f 6c 20 74 | 6f 20 61 20 63 6f 6e 76 |ontrol t|o a conv|
|00000260| 65 6e 69 65 6e 74 20 65 | 72 72 6f 72 20 74 72 61 |enient e|rror tra|
|00000270| 70 20 6c 6f 63 61 74 69 | 6f 6e 2c 20 72 65 67 61 |p locati|on, rega|
|00000280| 72 64 6c 65 73 73 20 6f | 66 20 68 6f 77 20 6d 61 |rdless o|f how ma|
|00000290| 6e 79 20 6c 65 76 65 6c | 73 20 6f 66 20 70 72 6f |ny level|s of pro|
|000002a0| 63 65 64 75 72 65 20 6e | 65 73 74 69 6e 67 20 61 |cedure n|esting a|
|000002b0| 72 65 20 69 6e 20 62 65 | 74 77 65 65 6e 2e 0d 54 |re in be|tween..T|
|000002c0| 68 65 20 65 78 61 6d 70 | 6c 65 20 69 73 20 70 72 |he examp|le is pr|
|000002d0| 6f 76 69 64 65 64 20 77 | 69 74 68 20 61 20 50 61 |ovided w|ith a Pa|
|000002e0| 73 63 61 6c 20 69 6e 74 | 65 72 66 61 63 65 2c 20 |scal int|erface, |
|000002f0| 62 75 74 20 69 74 20 69 | 73 20 65 61 73 69 6c 79 |but it i|s easily|
|00000300| 20 61 64 61 70 74 65 64 | 20 74 6f 20 6f 74 68 65 | adapted| to othe|
|00000310| 72 20 6c 61 6e 67 75 61 | 67 65 73 2e 20 54 68 65 |r langua|ges. The|
|00000320| 20 6f 6e 6c 79 20 71 75 | 61 6c 69 66 69 63 61 74 | only qu|alificat|
|00000330| 69 6f 6e 20 69 73 20 74 | 68 61 74 20 74 68 65 20 |ion is t|hat the |
|00000340| 6c 61 6e 67 75 61 67 65 | 20 6d 75 73 74 20 62 72 |language| must br|
|00000350| 61 63 6b 65 74 20 69 74 | 73 20 70 72 6f 63 65 64 |acket it|s proced|
|00000360| 75 72 65 73 20 28 6f 72 | 20 66 75 6e 63 74 69 6f |ures (or| functio|
|00000370| 6e 73 29 20 77 69 74 68 | 20 4c 49 4e 4b 20 61 6e |ns) with| LINK an|
|00000380| 64 20 55 4e 4c 4b 20 69 | 6e 73 74 72 75 63 74 69 |d UNLK i|nstructi|
|00000390| 6f 6e 73 2e 20 54 68 69 | 73 20 77 69 6c 6c 20 61 |ons. Thi|s will a|
|000003a0| 6c 6c 6f 77 20 74 68 65 | 20 73 69 67 6e 61 6c 20 |llow the| signal |
|000003b0| 63 6f 64 65 20 74 6f 20 | 63 6c 65 61 6e 20 75 70 |code to |clean up|
|000003c0| 20 61 74 20 70 72 6f 63 | 65 64 75 72 65 20 65 78 | at proc|edure ex|
|000003d0| 69 74 20 74 69 6d 65 20 | 62 79 20 72 65 6d 6f 76 |it time |by remov|
|000003e0| 69 6e 67 20 43 61 74 63 | 68 53 69 67 6e 61 6c 20 |ing Catc|hSignal |
|000003f0| 65 6e 74 72 69 65 73 20 | 66 72 6f 6d 20 69 74 73 |entries |from its|
|00000400| 20 69 6e 74 65 72 6e 61 | 6c 20 71 75 65 75 65 2e | interna|l queue.|
|00000410| 0d 4e 6f 74 65 3a 20 6f | 6e 6c 79 20 70 72 6f 63 |.Note: o|nly proc|
|00000420| 65 64 75 72 65 73 20 61 | 6e 64 2f 6f 72 20 66 75 |edures a|nd/or fu|
|00000430| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 63 61 6c |nctions |that cal|
|00000440| 6c 20 43 61 74 63 68 53 | 69 67 6e 61 6c 20 6e 65 |l CatchS|ignal ne|
|00000450| 65 64 20 74 6f 20 62 65 | 20 62 72 61 63 6b 65 74 |ed to be| bracket|
|00000460| 65 64 20 77 69 74 68 20 | 4c 49 4e 4b 20 61 6e 64 |ed with |LINK and|
|00000470| 20 55 4e 4c 4b 20 69 6e | 73 74 72 75 63 74 69 6f | UNLK in|structio|
|00000480| 6e 73 2e 0d 49 6d 70 6f | 72 74 61 6e 74 3a 20 49 |ns..Impo|rtant: I|
|00000490| 6e 69 74 53 69 67 6e 61 | 6c 73 20 6d 75 73 74 20 |nitSigna|ls must |
|000004a0| 62 65 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 74 |be calle|d from t|
|000004b0| 68 65 20 6d 61 69 6e 20 | 70 72 6f 67 72 61 6d 20 |he main |program |
|000004c0| 73 6f 20 74 68 61 74 20 | 41 36 20 63 61 6e 20 62 |so that |A6 can b|
|000004d0| 65 20 73 65 74 20 75 70 | 20 70 72 6f 70 65 72 6c |e set up| properl|
|000004e0| 79 2e 0d 4e 6f 74 65 20 | 74 68 61 74 20 74 68 65 |y..Note |that the|
|000004f0| 72 65 20 69 73 20 6e 6f | 20 6c 69 6d 69 74 20 74 |re is no| limit t|
|00000500| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00000510| 6c 6f 63 61 6c 20 43 61 | 74 63 68 53 69 67 6e 61 |local Ca|tchSigna|
|00000520| 6c 73 20 77 68 69 63 68 | 20 6d 61 79 20 6f 63 63 |ls which| may occ|
|00000530| 75 72 20 77 69 74 68 69 | 6e 20 61 20 73 69 6e 67 |ur withi|n a sing|
|00000540| 6c 65 20 72 6f 75 74 69 | 6e 65 2e 20 4f 6e 6c 79 |le routi|ne. Only|
|00000550| 20 74 68 65 20 6c 61 73 | 74 20 6f 6e 65 20 65 78 | the las|t one ex|
|00000560| 65 63 75 74 65 64 20 77 | 69 6c 6c 20 61 70 70 6c |ecuted w|ill appl|
|00000570| 79 2c 20 6f 66 20 63 6f | 75 72 73 65 2c 20 75 6e |y, of co|urse, un|
|00000580| 6c 65 73 73 20 79 6f 75 | 20 63 61 6c 6c 20 46 72 |less you| call Fr|
|00000590| 65 65 53 69 67 6e 61 6c | 2e 20 46 72 65 65 53 69 |eeSignal|. FreeSi|
|000005a0| 67 6e 61 6c 20 77 69 6c | 6c 20 d2 70 6f 70 d3 20 |gnal wil|l .pop. |
|000005b0| 6f 66 66 20 74 68 65 20 | 6c 61 73 74 20 43 61 74 |off the |last Cat|
|000005c0| 63 68 53 69 67 6e 61 6c | 2e 20 49 66 20 79 6f 75 |chSignal|. If you|
|000005d0| 20 61 74 74 65 6d 70 74 | 20 74 6f 20 53 69 67 6e | attempt| to Sign|
|000005e0| 61 6c 20 77 69 74 68 20 | 6e 6f 20 43 61 74 63 68 |al with |no Catch|
|000005f0| 53 69 67 6e 61 6c 73 20 | 70 65 6e 64 69 6e 67 2c |Signals |pending,|
|00000600| 20 53 69 67 6e 61 6c 20 | 77 69 6c 6c 20 68 61 6c | Signal |will hal|
|00000610| 74 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 77 69 |t the pr|ogram wi|
|00000620| 74 68 20 61 20 64 65 62 | 75 67 67 65 72 20 74 72 |th a deb|ugger tr|
|00000630| 61 70 2e 0d 49 6e 69 74 | 53 69 67 6e 61 6c 73 20 |ap..Init|Signals |
|00000640| 63 72 65 61 74 65 73 20 | 61 20 73 6d 61 6c 6c 20 |creates |a small |
|00000650| 72 65 6c 6f 63 61 74 61 | 62 6c 65 20 62 6c 6f 63 |relocata|ble bloc|
|00000660| 6b 20 69 6e 20 74 68 65 | 20 61 70 70 6c 69 63 61 |k in the| applica|
|00000670| 74 69 6f 6e 20 68 65 61 | 70 20 74 6f 20 68 6f 6c |tion hea|p to hol|
|00000680| 64 20 74 68 65 20 73 69 | 67 6e 61 6c 20 71 75 65 |d the si|gnal que|
|00000690| 75 65 2e 20 49 66 20 43 | 61 74 63 68 53 69 67 6e |ue. If C|atchSign|
|000006a0| 61 6c 20 69 73 20 75 6e | 61 62 6c 65 20 74 6f 20 |al is un|able to |
|000006b0| 65 78 70 61 6e 64 20 74 | 68 69 73 20 62 6c 6f 63 |expand t|his bloc|
|000006c0| 6b 20 28 77 68 69 63 68 | 20 69 74 20 64 6f 65 73 |k (which| it does|
|000006d0| 20 35 20 65 6c 65 6d 65 | 6e 74 73 20 61 74 20 61 | 5 eleme|nts at a|
|000006e0| 20 74 69 6d 65 29 2c 20 | 74 68 65 6e 20 69 74 20 | time), |then it |
|000006f0| 77 69 6c 6c 20 73 69 67 | 6e 61 6c 20 62 61 63 6b |will sig|nal back|
|00000700| 20 74 6f 20 74 68 65 20 | 6c 61 73 74 20 73 75 63 | to the |last suc|
|00000710| 63 65 73 73 66 75 6c 20 | 43 61 74 63 68 53 69 67 |cessful |CatchSig|
|00000720| 6e 61 6c 20 77 69 74 68 | 20 63 6f 64 65 20 3d 20 |nal with| code = |
|00000730| 32 30 30 2e 20 41 20 53 | 69 67 6e 61 6c 28 30 29 |200. A S|ignal(0)|
|00000740| 20 61 63 74 73 20 61 73 | 20 61 20 4e 4f 50 2c 20 | acts as| a NOP, |
|00000750| 73 6f 20 79 6f 75 20 6d | 61 79 20 70 61 73 73 20 |so you m|ay pass |
|00000760| 4f 53 45 72 72 73 2c 20 | 66 6f 72 20 69 6e 73 74 |OSErrs, |for inst|
|00000770| 61 6e 63 65 2c 20 61 66 | 74 65 72 20 6d 61 6b 69 |ance, af|ter maki|
|00000780| 6e 67 20 46 69 6c 65 20 | 53 79 73 74 65 6d 20 74 |ng File |System t|
|00000790| 79 70 65 20 63 61 6c 6c | 73 2c 20 61 6e 64 2c 20 |ype call|s, and, |
|000007a0| 69 66 20 74 68 65 20 4f | 53 45 72 72 20 69 73 20 |if the O|SErr is |
|000007b0| 65 71 75 61 6c 20 74 6f | 20 4e 6f 45 72 72 2c 20 |equal to| NoErr, |
|000007c0| 6e 6f 74 68 69 6e 67 20 | 77 69 6c 6c 20 68 61 70 |nothing |will hap|
|000007d0| 70 65 6e 2e 0d 43 61 74 | 63 68 53 69 67 6e 61 6c |pen..Cat|chSignal|
|000007e0| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 75 73 65 64 | may not| be used|
|000007f0| 20 69 6e 20 61 6e 20 65 | 78 70 72 65 73 73 69 6f | in an e|xpressio|
|00000800| 6e 20 69 66 20 74 68 65 | 20 73 74 61 63 6b 20 69 |n if the| stack i|
|00000810| 73 20 75 73 65 64 20 74 | 6f 20 65 76 61 6c 75 61 |s used t|o evalua|
|00000820| 74 65 20 74 68 61 74 20 | 65 78 70 72 65 73 73 69 |te that |expressi|
|00000830| 6f 6e 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |on. For |example,|
|00000840| 20 79 6f 75 20 63 61 6e | d5 74 20 77 72 69 74 65 | you can|.t write|
|00000850| 3a 0d 09 63 3a 3d 20 33 | 2a 43 61 74 63 68 53 69 |:..c:= 3|*CatchSi|
|00000860| 67 6e 61 6c 3b 0d d2 47 | 6f 74 63 68 61 d3 20 73 |gnal;..G|otcha. s|
|00000870| 75 6d 6d 61 72 79 0d 31 | 2e 20 09 52 6f 75 74 69 |ummary.1|. .Routi|
|00000880| 6e 65 73 20 77 68 69 63 | 68 20 63 61 6c 6c 20 43 |nes whic|h call C|
|00000890| 61 74 63 68 53 69 67 6e | 61 6c 20 6d 75 73 74 20 |atchSign|al must |
|000008a0| 68 61 76 65 20 73 74 61 | 63 6b 20 66 72 61 6d 65 |have sta|ck frame|
|000008b0| 73 2e 0d 32 2e 20 09 49 | 6e 69 74 53 69 67 6e 61 |s..2. .I|nitSigna|
|000008c0| 6c 73 20 6d 75 73 74 20 | 62 65 20 63 61 6c 6c 65 |ls must |be calle|
|000008d0| 64 20 66 72 6f 6d 20 74 | 68 65 20 6f 75 74 65 72 |d from t|he outer|
|000008e0| 6d 6f 73 74 20 28 6d 61 | 69 6e 29 20 6c 65 76 65 |most (ma|in) leve|
|000008f0| 6c 2e 0d 33 2e 20 09 44 | 6f 6e d5 74 20 70 75 74 |l..3. .D|on.t put|
|00000900| 20 74 68 65 20 43 61 74 | 63 68 53 69 67 6e 61 6c | the Cat|chSignal|
|00000910| 20 66 75 6e 63 74 69 6f | 6e 20 69 6e 20 61 6e 20 | functio|n in an |
|00000920| 65 78 70 72 65 73 73 69 | 6f 6e 2e 20 41 73 73 69 |expressi|on. Assi|
|00000930| 67 6e 20 74 68 65 20 72 | 65 73 75 6c 74 20 74 6f |gn the r|esult to|
|00000940| 20 61 6e 20 09 49 4e 54 | 45 47 45 52 20 76 61 72 | an .INT|EGER var|
|00000950| 69 61 62 6c 65 3b 20 69 | 2e 65 2e 20 69 3a 3d 43 |iable; i|.e. i:=C|
|00000960| 61 74 63 68 53 69 67 6e | 61 6c 2e 0d 34 2e 20 09 |atchSign|al..4. .|
|00000970| 49 74 d5 73 20 73 61 66 | 65 73 74 20 74 6f 20 63 |It.s saf|est to c|
|00000980| 61 6c 6c 20 61 20 70 72 | 6f 63 65 64 75 72 65 20 |all a pr|ocedure |
|00000990| 74 6f 20 64 6f 20 74 68 | 65 20 70 72 6f 63 65 73 |to do th|e proces|
|000009a0| 73 69 6e 67 20 61 66 74 | 65 72 20 43 61 74 63 68 |sing aft|er Catch|
|000009b0| 53 69 67 6e 61 6c 20 72 | 65 74 75 72 6e 73 2e 20 |Signal r|eturns. |
|000009c0| 53 65 65 20 09 74 68 65 | 20 50 61 73 63 61 6c 20 |See .the| Pascal |
|000009d0| 65 78 61 6d 70 6c 65 20 | 54 65 73 74 53 69 67 6e |example |TestSign|
|000009e0| 61 6c 73 20 62 65 6c 6f | 77 2e 20 54 68 69 73 20 |als belo|w. This |
|000009f0| 77 69 6c 6c 20 70 72 65 | 76 65 6e 74 20 74 68 65 |will pre|vent the|
|00000a00| 20 75 73 65 20 6f 66 20 | 61 20 76 61 72 69 61 62 | use of |a variab|
|00000a10| 6c 65 20 09 77 68 69 63 | 68 20 6d 61 79 20 62 65 |le .whic|h may be|
|00000a20| 20 68 65 6c 64 20 69 6e | 20 61 20 72 65 67 69 73 | held in| a regis|
|00000a30| 74 65 72 2e 0d 42 65 6c | 6f 77 20 61 72 65 20 74 |ter..Bel|ow are t|
|00000a40| 68 72 65 65 20 73 65 70 | 61 72 61 74 65 20 73 6f |hree sep|arate so|
|00000a50| 75 72 63 65 20 66 69 6c | 65 73 2e 20 46 69 72 73 |urce fil|es. Firs|
|00000a60| 74 20 69 73 20 74 68 65 | 20 50 61 73 63 61 6c 20 |t is the| Pascal |
|00000a70| 69 6e 74 65 72 66 61 63 | 65 20 74 6f 20 74 68 65 |interfac|e to the|
|00000a80| 20 73 69 67 6e 61 6c 69 | 6e 67 20 75 6e 69 74 2c | signali|ng unit,|
|00000a90| 20 74 68 65 6e 20 74 68 | 65 20 61 73 73 65 6d 62 | then th|e assemb|
|00000aa0| 6c 79 20 6c 61 6e 67 75 | 61 67 65 20 77 68 69 63 |ly langu|age whic|
|00000ab0| 68 20 69 6d 70 6c 65 6d | 65 6e 74 73 20 69 74 20 |h implem|ents it |
|00000ac0| 69 6e 20 4d 50 57 20 41 | 73 73 65 6d 62 6c 65 72 |in MPW A|ssembler|
|00000ad0| 20 66 6f 72 6d 61 74 2e | 20 46 69 6e 61 6c 6c 79 | format.| Finally|
|00000ae0| 2c 20 74 68 65 72 65 20 | 69 73 20 61 6e 20 65 78 |, there |is an ex|
|00000af0| 61 6d 70 6c 65 20 70 72 | 6f 67 72 61 6d 20 77 68 |ample pr|ogram wh|
|00000b00| 69 63 68 20 64 65 6d 6f | 6e 73 74 72 61 74 65 73 |ich demo|nstrates|
|00000b10| 20 74 68 65 20 75 73 65 | 20 6f 66 20 74 68 65 20 | the use| of the |
|00000b20| 72 6f 75 74 69 6e 65 73 | 20 69 6e 20 74 68 65 20 |routines| in the |
|00000b30| 75 6e 69 74 2e 0d 7b 46 | 69 6c 65 20 45 72 72 53 |unit..{F|ile ErrS|
|00000b40| 69 67 6e 61 6c 2e 70 7d | 0d 55 4e 49 54 20 45 72 |ignal.p}|.UNIT Er|
|00000b50| 72 53 69 67 6e 61 6c 3b | 0d 49 4e 54 45 52 46 41 |rSignal;|.INTERFA|
|00000b60| 43 45 0d 7b 43 61 6c 6c | 20 74 68 69 73 20 72 69 |CE.{Call| this ri|
|00000b70| 67 68 74 20 61 66 74 65 | 72 20 79 6f 75 72 20 6f |ght afte|r your o|
|00000b80| 74 68 65 72 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |ther ini|tializat|
|00000b90| 69 6f 6e 73 20 28 49 6e | 69 74 47 72 61 66 2c 20 |ions (In|itGraf, |
|00000ba0| 65 74 63 2e 29 2d 2d 69 | 6e 20 6f 74 68 65 72 20 |etc.)--i|n other |
|00000bb0| 77 6f 72 64 73 20 61 73 | 20 65 61 72 6c 79 20 61 |words as| early a|
|00000bc0| 73 20 79 6f 75 20 63 61 | 6e 20 69 6e 20 74 68 65 |s you ca|n in the|
|00000bd0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 7d 0d 50 52 | applica|tion}.PR|
|00000be0| 4f 43 45 44 55 52 45 20 | 49 6e 69 74 53 69 67 6e |OCEDURE |InitSign|
|00000bf0| 61 6c 73 3b 0d 7b 55 6e | 74 69 6c 20 74 68 65 20 |als;.{Un|til the |
|00000c00| 70 72 6f 63 65 64 75 72 | 65 20 77 68 69 63 68 20 |procedur|e which |
|00000c10| 65 6e 63 6c 6f 73 65 73 | 20 74 68 69 73 20 63 61 |encloses| this ca|
|00000c20| 6c 6c 20 72 65 74 75 72 | 6e 73 2c 20 69 74 20 77 |ll retur|ns, it w|
|00000c30| 69 6c 6c 20 63 61 74 63 | 68 20 73 75 62 73 65 71 |ill catc|h subseq|
|00000c40| 75 65 6e 74 20 53 69 67 | 6e 61 6c 20 63 61 6c 6c |uent Sig|nal call|
|00000c50| 73 2c 20 72 65 74 75 72 | 6e 69 6e 67 20 74 68 65 |s, retur|ning the|
|00000c60| 20 63 6f 64 65 20 70 61 | 73 73 65 64 20 74 6f 20 | code pa|ssed to |
|00000c70| 53 69 67 6e 61 6c 2e 20 | 57 68 65 6e 20 43 61 74 |Signal. |When Cat|
|00000c80| 63 68 53 69 67 6e 61 6c | 20 69 73 20 65 6e 63 6f |chSignal| is enco|
|00000c90| 75 6e 74 65 72 65 64 20 | 69 6e 69 74 69 61 6c 6c |untered |initiall|
|00000ca0| 79 2c 20 69 74 20 72 65 | 74 75 72 6e 73 20 61 20 |y, it re|turns a |
|00000cb0| 63 6f 64 65 20 6f 66 20 | 7a 65 72 6f 2e 20 54 68 |code of |zero. Th|
|00000cc0| 65 73 65 20 63 61 6c 6c | 73 20 6d 61 79 20 22 6e |ese call|s may "n|
|00000cd0| 65 73 74 22 3b 20 69 2e | 65 2e 20 79 6f 75 20 6d |est"; i.|e. you m|
|00000ce0| 61 79 20 68 61 76 65 20 | 6d 75 6c 74 69 70 6c 65 |ay have |multiple|
|00000cf0| 20 43 61 74 63 68 53 69 | 67 6e 61 6c 73 20 69 6e | CatchSi|gnals in|
|00000d00| 20 6f 6e 65 20 70 72 6f | 63 65 64 75 72 65 2e 0d | one pro|cedure..|
|00000d10| 45 61 63 68 20 6e 65 73 | 74 65 64 20 43 61 74 63 |Each nes|ted Catc|
|00000d20| 68 53 69 67 6e 61 6c 20 | 63 61 6c 6c 20 75 73 65 |hSignal |call use|
|00000d30| 73 20 31 32 20 62 79 74 | 65 73 20 6f 66 20 68 65 |s 12 byt|es of he|
|00000d40| 61 70 20 73 70 61 63 65 | 20 7d 0d 46 55 4e 43 54 |ap space| }.FUNCT|
|00000d50| 49 4f 4e 20 43 61 74 63 | 68 53 69 67 6e 61 6c 3a |ION Catc|hSignal:|
|00000d60| 49 4e 54 45 47 45 52 3b | 0d 7b 54 68 69 73 20 75 |INTEGER;|.{This u|
|00000d70| 6e 64 6f 65 73 20 74 68 | 65 20 65 66 66 65 63 74 |ndoes th|e effect|
|00000d80| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 43 61 74 | of the |last Cat|
|00000d90| 63 68 53 69 67 6e 61 6c | 2e 20 41 20 53 69 67 6e |chSignal|. A Sign|
|00000da0| 61 6c 20 77 69 6c 6c 20 | 74 68 65 6e 20 69 6e 76 |al will |then inv|
|00000db0| 6f 6b 65 20 74 68 65 20 | 43 61 74 63 68 53 69 67 |oke the |CatchSig|
|00000dc0| 6e 61 6c 20 70 72 69 6f | 72 20 74 6f 20 74 68 65 |nal prio|r to the|
|00000dd0| 20 6c 61 73 74 20 6f 6e | 65 2e 7d 0d 50 52 4f 43 | last on|e.}.PROC|
|00000de0| 45 44 55 52 45 20 46 72 | 65 65 53 69 67 6e 61 6c |EDURE Fr|eeSignal|
|00000df0| 3b 0d 7b 52 65 74 75 72 | 6e 73 20 63 6f 6e 74 72 |;.{Retur|ns contr|
|00000e00| 6f 6c 20 74 6f 20 74 68 | 65 20 70 6f 69 6e 74 20 |ol to th|e point |
|00000e10| 6f 66 20 74 68 65 20 6c | 61 73 74 20 43 61 74 63 |of the l|ast Catc|
|00000e20| 68 53 69 67 6e 61 6c 2e | 20 54 68 65 20 70 72 6f |hSignal.| The pro|
|00000e30| 67 72 61 6d 20 77 69 6c | 6c 20 74 68 65 6e 20 62 |gram wil|l then b|
|00000e40| 65 68 61 76 65 20 61 73 | 20 74 68 6f 75 67 68 20 |ehave as| though |
|00000e50| 74 68 61 74 20 43 61 74 | 63 68 53 69 67 6e 61 6c |that Cat|chSignal|
|00000e60| 20 68 61 64 20 72 65 74 | 75 72 6e 65 64 20 77 69 | had ret|urned wi|
|00000e70| 74 68 20 74 68 65 20 63 | 6f 64 65 20 70 61 72 61 |th the c|ode para|
|00000e80| 6d 65 74 65 72 20 73 75 | 70 70 6c 69 65 64 20 74 |meter su|pplied t|
|00000e90| 6f 20 53 69 67 6e 61 6c | 2e 7d 0d 50 52 4f 43 45 |o Signal|.}.PROCE|
|00000ea0| 44 55 52 45 20 53 69 67 | 6e 61 6c 28 63 6f 64 65 |DURE Sig|nal(code|
|00000eb0| 3a 49 4e 54 45 47 45 52 | 29 3b 0d 45 4e 44 2e 0d |:INTEGER|);.END..|
|00000ec0| 7b 45 6e 64 20 6f 66 20 | 45 72 72 53 69 67 6e 61 |{End of |ErrSigna|
|00000ed0| 6c 2e 70 7d 0d 48 65 72 | 65 d5 73 20 74 68 65 20 |l.p}.Her|e.s the |
|00000ee0| 61 73 73 65 6d 62 6c 79 | 20 73 6f 75 72 63 65 20 |assembly| source |
|00000ef0| 66 6f 72 20 74 68 65 20 | 72 6f 75 74 69 6e 65 73 |for the |routines|
|00000f00| 20 74 68 65 6d 73 65 6c | 76 65 73 3a 0d 3b 20 45 | themsel|ves:.; E|
|00000f10| 72 72 53 69 67 6e 61 6c | 20 63 6f 64 65 20 77 2e |rrSignal| code w.|
|00000f20| 20 49 6e 69 74 53 69 67 | 6e 61 6c 2c 20 43 61 74 | InitSig|nal, Cat|
|00000f30| 63 68 53 69 67 6e 61 6c | 2c 46 72 65 65 53 69 67 |chSignal|,FreeSig|
|00000f40| 6e 61 6c 2c 20 53 69 67 | 6e 61 6c 0d 3b 20 64 65 |nal, Sig|nal.; de|
|00000f50| 66 69 6e 65 64 0d 3b 0d | 3b 20 20 20 20 20 20 20 |fined.;.|; |
|00000f60| 20 20 20 20 20 20 20 20 | 56 65 72 73 69 6f 6e 20 | |Version |
|00000f70| 31 2e 30 20 62 79 20 52 | 69 63 6b 20 42 6c 61 69 |1.0 by R|ick Blai|
|00000f80| 72 0d 09 50 52 49 4e 54 | 09 4f 46 46 0d 09 49 4e |r..PRINT|.OFF..IN|
|00000f90| 43 4c 55 44 45 09 27 54 | 72 61 70 73 2e 61 27 0d |CLUDE.'T|raps.a'.|
|00000fa0| 09 49 4e 43 4c 55 44 45 | 09 27 54 6f 6f 6c 45 71 |.INCLUDE|.'ToolEq|
|00000fb0| 75 2e 61 27 0d 09 49 4e | 43 4c 55 44 45 09 27 51 |u.a'..IN|CLUDE.'Q|
|00000fc0| 75 69 63 6b 45 71 75 2e | 61 27 0d 09 49 4e 43 4c |uickEqu.|a'..INCL|
|00000fd0| 55 44 45 09 27 53 79 73 | 45 71 75 2e 61 27 0d 09 |UDE.'Sys|Equ.a'..|
|00000fe0| 50 52 49 4e 54 09 4f 4e | 0d 09 09 09 09 09 09 0d |PRINT.ON|........|
|00000ff0| 43 61 74 63 68 53 69 67 | 45 72 72 09 45 51 55 09 |CatchSig|Err.EQU.|
|00001000| 32 30 30 09 09 3b 22 69 | 6e 73 75 66 66 69 63 69 |200..;"i|nsuffici|
|00001010| 65 6e 74 20 68 65 61 70 | 22 20 6d 65 73 73 61 67 |ent heap|" messag|
|00001020| 65 0d 53 69 67 43 68 75 | 6e 6b 73 09 45 51 55 09 |e.SigChu|nks.EQU.|
|00001030| 35 20 09 09 3b 6e 75 6d | 62 65 72 20 6f 66 20 65 |5 ..;num|ber of e|
|00001040| 6c 65 6d 65 6e 74 73 20 | 74 6f 20 65 78 70 61 6e |lements |to expan|
|00001050| 64 20 62 79 0d 46 72 61 | 6d 65 52 65 74 09 45 51 |d by.Fra|meRet.EQ|
|00001060| 55 09 34 20 09 09 3b 72 | 65 74 75 72 6e 20 61 64 |U.4 ..;r|eturn ad|
|00001070| 64 72 2e 20 66 6f 72 20 | 66 72 61 6d 65 20 28 6f |dr. for |frame (o|
|00001080| 66 66 20 41 36 29 0d 53 | 69 67 42 69 67 41 36 09 |ff A6).S|igBigA6.|
|00001090| 45 51 55 09 24 46 46 46 | 46 46 46 46 46 09 3b 6d |EQU.$FFF|FFFFF.;m|
|000010a0| 61 78 69 6d 75 6d 20 70 | 6f 73 69 74 69 76 65 20 |aximum p|ositive |
|000010b0| 41 36 20 76 61 6c 75 65 | 0d 3b 20 41 20 74 65 6d |A6 value|.; A tem|
|000010c0| 70 6c 61 74 65 20 69 6e | 20 4d 50 57 20 41 73 73 |plate in| MPW Ass|
|000010d0| 65 6d 62 6c 65 72 20 64 | 65 73 63 72 69 62 65 73 |embler d|escribes|
|000010e0| 20 74 68 65 20 6c 61 79 | 6f 75 74 20 6f 66 20 61 | the lay|out of a|
|000010f0| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 6f 66 20 64 | collect|ion of d|
|00001100| 61 74 61 20 0d 3b 20 77 | 69 74 68 6f 75 74 20 61 |ata .; w|ithout a|
|00001110| 63 74 75 61 6c 6c 79 20 | 61 6c 6c 6f 63 61 74 69 |ctually |allocati|
|00001120| 6e 67 20 61 6e 79 20 6d | 65 6d 6f 72 79 20 73 70 |ng any m|emory sp|
|00001130| 61 63 65 2e 20 41 20 74 | 65 6d 70 6c 61 74 65 20 |ace. A t|emplate |
|00001140| 64 65 66 69 6e 69 74 69 | 6f 6e 20 73 74 61 72 74 |definiti|on start|
|00001150| 73 20 0d 3b 20 77 69 74 | 68 20 61 20 52 45 43 4f |s .; wit|h a RECO|
|00001160| 52 44 20 64 69 72 65 63 | 74 69 76 65 20 61 6e 64 |RD direc|tive and|
|00001170| 20 65 6e 64 73 20 77 69 | 74 68 20 61 6e 20 45 4e | ends wi|th an EN|
|00001180| 44 52 20 64 69 72 65 63 | 74 69 76 65 2e 0d 3b 20 |DR direc|tive..; |
|00001190| 54 6f 20 69 6c 6c 75 73 | 74 72 61 74 65 20 68 6f |To illus|trate ho|
|000011a0| 77 20 74 68 65 20 74 65 | 6d 70 6c 61 74 65 20 74 |w the te|mplate t|
|000011b0| 79 70 65 20 66 65 61 74 | 75 72 65 20 77 6f 72 6b |ype feat|ure work|
|000011c0| 73 2c 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |s, the f|ollowing|
|000011d0| 20 74 65 6d 70 6c 61 74 | 65 20 0d 3b 20 69 73 20 | templat|e .; is |
|000011e0| 64 65 63 6c 61 72 65 64 | 20 61 6e 64 20 75 73 65 |declared| and use|
|000011f0| 64 2e 20 42 79 20 75 73 | 69 6e 67 20 74 68 69 73 |d. By us|ing this|
|00001200| 2c 20 74 68 65 20 61 73 | 73 65 6d 62 6c 65 72 20 |, the as|sembler |
|00001210| 73 6f 75 72 63 65 20 61 | 70 70 72 6f 6d 69 78 61 |source a|ppromixa|
|00001220| 74 65 73 20 76 65 72 79 | 20 0d 3b 20 63 6c 6f 73 |tes very| .; clos|
|00001230| 65 6c 79 20 50 61 73 63 | 61 6c 20 73 6f 75 72 63 |ely Pasc|al sourc|
|00001240| 65 20 66 6f 72 20 72 65 | 66 65 72 65 6e 63 69 6e |e for re|ferencin|
|00001250| 67 20 74 68 65 20 63 6f | 72 72 65 73 70 6f 6e 64 |g the co|rrespond|
|00001260| 69 6e 67 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |ing info|rmation.|
|00001270| 0d 3b 74 65 6d 70 6c 61 | 74 65 20 66 6f 72 20 6f |.;templa|te for o|
|00001280| 75 72 20 74 61 62 6c 65 | 20 65 6c 65 6d 65 6e 74 |ur table| element|
|00001290| 73 0d 53 69 67 45 6c 65 | 6d 65 6e 74 09 52 45 43 |s.SigEle|ment.REC|
|000012a0| 4f 52 44 09 30 09 09 3b | 74 68 65 20 7a 65 72 6f |ORD.0..;|the zero|
|000012b0| 20 69 73 20 74 68 65 20 | 74 65 6d 70 6c 61 74 65 | is the |template|
|000012c0| 20 6f 72 69 67 69 6e 0d | 53 69 67 53 50 09 44 53 | origin.|SigSP.DS|
|000012d0| 2e 4c 09 31 09 09 09 3b | 74 68 65 20 53 50 20 61 |.L.1...;|the SP a|
|000012e0| 74 20 74 68 65 20 43 61 | 74 63 68 53 69 67 6e 61 |t the Ca|tchSigna|
|000012f0| 6c d1 28 44 53 2e 4c 20 | 6a 75 73 74 20 6c 69 6b |l.(DS.L |just lik|
|00001300| 65 20 45 51 55 29 0d 53 | 69 67 52 65 74 41 64 64 |e EQU).S|igRetAdd|
|00001310| 72 09 44 53 2e 4c 09 31 | 09 09 3b 74 68 65 20 61 |r.DS.L.1|..;the a|
|00001320| 64 64 72 65 73 73 20 77 | 68 65 72 65 20 74 68 65 |ddress w|here the|
|00001330| 20 43 61 74 63 68 53 69 | 67 6e 61 6c 20 72 65 74 | CatchSi|gnal ret|
|00001340| 75 72 6e 65 64 0d 53 69 | 67 46 52 65 74 09 44 53 |urned.Si|gFRet.DS|
|00001350| 2e 4c 09 31 09 09 3b 72 | 65 74 75 72 6e 20 61 64 |.L.1..;r|eturn ad|
|00001360| 64 72 2e 20 66 6f 72 20 | 65 6e 63 6c 2e 20 70 72 |dr. for |encl. pr|
|00001370| 6f 63 65 64 75 72 65 0d | 53 69 67 45 6c 53 69 7a |ocedure.|SigElSiz|
|00001380| 65 09 45 51 55 09 2a 09 | 09 3b 6a 75 73 74 20 6c |e.EQU.*.|.;just l|
|00001390| 69 6b 65 20 45 51 55 20 | 31 32 0d 09 45 4e 44 52 |ike EQU |12..ENDR|
|000013a0| 0d 3b 20 54 68 65 20 67 | 6c 6f 62 61 6c 20 64 61 |.; The g|lobal da|
|000013b0| 74 61 20 75 73 65 64 20 | 62 79 20 74 68 65 73 65 |ta used |by these|
|000013c0| 20 72 6f 75 74 69 6e 65 | 73 20 66 6f 6c 6c 6f 77 | routine|s follow|
|000013d0| 73 2e 20 49 74 20 69 73 | 20 69 6e 20 74 68 65 20 |s. It is| in the |
|000013e0| 66 6f 72 6d 20 6f 66 20 | 61 20 0d 3b 20 52 45 43 |form of |a .; REC|
|000013f0| 4f 52 44 2c 20 62 75 74 | 2c 20 75 6e 6c 69 6b 65 |ORD, but|, unlike|
|00001400| 20 61 62 6f 76 65 2c 20 | 6e 6f 20 6f 72 69 67 69 | above, |no origi|
|00001410| 6e 20 69 73 20 73 70 65 | 63 69 66 69 65 64 2c 20 |n is spe|cified, |
|00001420| 77 68 69 63 68 20 6d 65 | 61 6e 73 20 74 68 61 74 |which me|ans that|
|00001430| 20 6d 65 6d 6f 72 79 20 | 0d 3b 20 73 70 61 63 65 | memory |.; space|
|00001440| 20 2a 77 69 6c 6c 2a 20 | 62 65 20 61 6c 6c 6f 63 | *will* |be alloc|
|00001450| 61 74 65 64 2e 0d 3b 20 | 54 68 69 73 20 64 61 74 |ated..; |This dat|
|00001460| 61 20 69 73 20 72 65 66 | 65 72 65 6e 63 65 64 20 |a is ref|erenced |
|00001470| 74 68 72 6f 75 67 68 20 | 61 20 57 49 54 48 20 73 |through |a WITH s|
|00001480| 74 61 74 65 6d 65 6e 74 | 20 61 74 20 74 68 65 20 |tatement| at the |
|00001490| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|000014a0| 20 0d 3b 20 70 72 6f 63 | 73 20 74 68 61 74 20 6e | .; proc|s that n|
|000014b0| 65 65 64 20 74 6f 20 67 | 65 74 20 61 74 20 74 68 |eed to g|et at th|
|000014c0| 69 73 20 64 61 74 61 2e | 20 53 69 6e 63 65 20 74 |is data.| Since t|
|000014d0| 68 65 20 41 73 73 65 6d | 62 6c 65 72 20 6b 6e 6f |he Assem|bler kno|
|000014e0| 77 73 20 77 68 65 6e 20 | 69 74 20 69 73 20 0d 3b |ws when |it is .;|
|000014f0| 20 72 65 66 65 72 65 6e | 63 69 6e 67 20 64 61 74 | referen|cing dat|
|00001500| 61 20 69 6e 20 61 20 64 | 61 74 61 20 6d 6f 64 75 |a in a d|ata modu|
|00001510| 6c 65 20 28 73 69 6e 63 | 65 20 74 68 65 79 20 6d |le (sinc|e they m|
|00001520| 75 73 74 20 62 65 20 64 | 65 63 6c 61 72 65 64 20 |ust be d|eclared |
|00001530| 62 65 66 6f 72 65 20 74 | 68 65 79 20 0d 3b 20 61 |before t|hey .; a|
|00001540| 72 65 20 61 63 63 65 73 | 73 65 64 29 2c 20 61 6e |re acces|sed), an|
|00001550| 64 20 73 69 6e 63 65 20 | 73 75 63 68 20 64 61 74 |d since |such dat|
|00001560| 61 20 63 61 6e 20 6f 6e | 6c 79 20 62 65 20 61 63 |a can on|ly be ac|
|00001570| 63 65 73 73 65 64 20 62 | 61 73 65 64 20 6f 6e 20 |cessed b|ased on |
|00001580| 41 35 2c 20 74 68 65 72 | 65 20 0d 3b 20 69 73 20 |A5, ther|e .; is |
|00001590| 6e 6f 20 6e 65 65 64 20 | 74 6f 20 65 78 70 6c 69 |no need |to expli|
|000015a0| 63 69 74 6c 79 20 73 70 | 65 63 69 66 79 20 41 35 |citly sp|ecify A5|
|000015b0| 20 69 6e 20 61 6e 79 20 | 63 6f 64 65 20 77 68 69 | in any |code whi|
|000015c0| 63 68 20 72 65 66 65 72 | 65 6e 63 65 73 20 74 68 |ch refer|ences th|
|000015d0| 65 20 64 61 74 61 20 0d | 3b 20 28 75 6e 6c 65 73 |e data .|; (unles|
|000015e0| 73 20 69 6e 64 65 78 69 | 6e 67 20 69 73 20 75 73 |s indexi|ng is us|
|000015f0| 65 64 29 2e 20 54 68 75 | 73 2c 20 69 6e 20 74 68 |ed). Thu|s, in th|
|00001600| 69 73 20 70 72 6f 67 72 | 61 6d 20 77 65 20 68 61 |is progr|am we ha|
|00001610| 76 65 20 6f 6d 69 74 74 | 65 64 20 61 6c 6c 20 41 |ve omitt|ed all A|
|00001620| 35 20 0d 3b 20 72 65 66 | 65 72 65 6e 63 65 73 20 |5 .; ref|erences |
|00001630| 77 68 65 6e 20 72 65 66 | 65 72 65 6e 63 69 6e 67 |when ref|erencing|
|00001640| 20 74 68 65 20 64 61 74 | 61 2e 0d 53 69 67 47 6c | the dat|a..SigGl|
|00001650| 6f 62 61 6c 73 20 52 45 | 43 4f 52 44 09 09 3b 6e |obals RE|CORD..;n|
|00001660| 6f 20 6f 72 69 67 69 6e | 20 6d 65 61 6e 73 20 74 |o origin| means t|
|00001670| 68 69 73 20 69 73 20 61 | 20 64 61 74 61 20 72 65 |his is a| data re|
|00001680| 63 6f 72 64 0d 09 09 09 | 09 3b 6e 6f 74 20 61 20 |cord....|.;not a |
|00001690| 74 65 6d 70 6c 61 74 65 | 28 61 73 20 61 62 6f 76 |template|(as abov|
|000016a0| 65 29 0d 53 69 67 45 6e | 64 09 44 53 2e 4c 09 31 |e).SigEn|d.DS.L.1|
|000016b0| 09 09 3b 63 75 72 72 65 | 6e 74 20 65 6e 64 20 6f |..;curre|nt end o|
|000016c0| 66 20 74 61 62 6c 65 0d | 53 69 67 4e 6f 77 09 44 |f table.|SigNow.D|
|000016d0| 53 2e 4c 09 31 09 09 3b | 74 68 65 20 4d 52 55 20 |S.L.1..;|the MRU |
|000016e0| 65 6c 65 6d 65 6e 74 0d | 53 69 67 48 61 6e 64 6c |element.|SigHandl|
|000016f0| 65 09 44 43 2e 4c 09 30 | 09 3b 68 61 6e 64 6c 65 |e.DC.L.0|.;handle|
|00001700| 20 74 6f 20 74 68 65 20 | 74 61 62 6c 65 0d 09 45 | to the |table..E|
|00001710| 4e 44 52 09 09 09 09 0d | 49 6e 69 74 53 69 67 6e |NDR.....|InitSign|
|00001720| 61 6c 73 20 50 52 4f 43 | 09 45 58 50 4f 52 54 09 |als PROC|.EXPORT.|
|00001730| 3b 50 52 4f 43 45 44 55 | 52 45 20 49 6e 69 74 53 |;PROCEDU|RE InitS|
|00001740| 69 67 6e 61 6c 73 3b 0d | 09 09 09 09 49 4d 50 4f |ignals;.|....IMPO|
|00001750| 52 54 09 43 61 74 63 68 | 53 69 67 6e 61 6c 0d 09 |RT.Catch|Signal..|
|00001760| 57 49 54 48 09 53 69 67 | 45 6c 65 6d 65 6e 74 2c |WITH.Sig|Element,|
|00001770| 53 69 67 47 6c 6f 62 61 | 6c 73 0d 3b 74 68 65 20 |SigGloba|ls.;the |
|00001780| 61 62 6f 76 65 20 73 74 | 61 74 65 6d 65 6e 74 20 |above st|atement |
|00001790| 6d 61 6b 65 73 20 74 68 | 65 20 74 65 6d 70 6c 61 |makes th|e templa|
|000017a0| 74 65 20 53 69 67 45 6c | 65 6d 65 6e 74 20 61 6e |te SigEl|ement an|
|000017b0| 64 20 74 68 65 20 67 6c | 6f 62 61 6c 20 64 61 74 |d the gl|obal dat|
|000017c0| 61 20 0d 3b 72 65 63 6f | 72 64 20 53 69 67 47 6c |a .;reco|rd SigGl|
|000017d0| 6f 62 61 6c 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |obals av|ailable |
|000017e0| 74 6f 20 74 68 69 73 20 | 70 72 6f 63 65 64 75 72 |to this |procedur|
|000017f0| 65 0d 09 4d 4f 56 45 2e | 4c 09 23 53 69 67 43 68 |e..MOVE.|L.#SigCh|
|00001800| 75 6e 6b 73 2a 53 69 67 | 45 6c 53 69 7a 65 2c 44 |unks*Sig|ElSize,D|
|00001810| 30 0d 09 5f 4e 65 77 48 | 61 6e 64 6c 65 09 3b 74 |0.._NewH|andle.;t|
|00001820| 72 79 20 74 6f 20 67 65 | 74 20 61 20 74 61 62 6c |ry to ge|t a tabl|
|00001830| 65 0d 09 42 4e 45 2e 53 | 09 66 6f 72 67 65 74 69 |e..BNE.S|.forgeti|
|00001840| 74 09 09 09 3b 77 65 20 | 63 6f 75 6c 64 6e 27 74 |t...;we |couldn't|
|00001850| 20 67 65 74 20 74 68 61 | 74 21 3f 0d 09 09 09 0d | get tha|t!?.....|
|00001860| 09 4d 4f 56 45 2e 4c 09 | 41 30 2c 53 69 67 48 61 |.MOVE.L.|A0,SigHa|
|00001870| 6e 64 6c 65 09 09 09 20 | 3b 73 61 76 65 20 69 74 |ndle... |;save it|
|00001880| 0d 09 4d 4f 56 45 2e 4c | 09 23 2d 53 69 67 45 6c |..MOVE.L|.#-SigEl|
|00001890| 53 69 7a 65 2c 53 69 67 | 4e 6f 77 09 09 20 3b 70 |Size,Sig|Now.. ;p|
|000018a0| 6f 69 6e 74 20 22 6e 6f | 77 22 20 62 65 66 6f 72 |oint "no|w" befor|
|000018b0| 65 20 73 74 61 72 74 0d | 09 4d 4f 56 45 2e 4c 09 |e start.|.MOVE.L.|
|000018c0| 23 53 69 67 43 68 75 6e | 6b 73 2a 53 69 67 45 6c |#SigChun|ks*SigEl|
|000018d0| 53 69 7a 65 2c 53 69 67 | 45 6e 64 09 20 3b 73 61 |Size,Sig|End. ;sa|
|000018e0| 76 65 20 74 68 65 20 65 | 6e 64 0d 09 4d 4f 56 45 |ve the e|nd..MOVE|
|000018f0| 2e 4c 09 23 53 69 67 42 | 69 67 41 36 2c 41 36 09 |.L.#SigB|igA6,A6.|
|00001900| 09 09 20 3b 6d 61 6b 65 | 20 41 36 20 76 61 6c 69 |.. ;make| A6 vali|
|00001910| 64 20 66 6f 72 20 53 69 | 67 6e 61 6c 0d 66 6f 72 |d for Si|gnal.for|
|00001920| 67 65 74 69 74 09 52 54 | 53 0d 09 45 4e 44 50 0d |getit.RT|S..ENDP.|
|00001930| 43 61 74 63 68 53 69 67 | 6e 61 6c 20 50 52 4f 43 |CatchSig|nal PROC|
|00001940| 09 45 58 50 4f 52 54 09 | 3b 46 55 4e 43 54 49 4f |.EXPORT.|;FUNCTIO|
|00001950| 4e 20 43 61 74 63 68 53 | 69 67 6e 61 6c 3a 49 4e |N CatchS|ignal:IN|
|00001960| 54 45 47 45 52 3b 09 49 | 4d 50 4f 52 54 09 53 69 |TEGER;.I|MPORT.Si|
|00001970| 67 67 79 53 65 74 75 70 | 2c 53 69 67 6e 61 6c 2c |ggySetup|,Signal,|
|00001980| 53 69 67 44 65 61 74 68 | 0d 09 57 49 54 48 09 53 |SigDeath|..WITH.S|
|00001990| 69 67 45 6c 65 6d 65 6e | 74 2c 53 69 67 47 6c 6f |igElemen|t,SigGlo|
|000019a0| 62 61 6c 73 0d 09 4d 4f | 56 45 2e 4c 09 28 53 50 |bals..MO|VE.L.(SP|
|000019b0| 29 2b 2c 41 31 09 3b 67 | 72 61 62 20 72 65 74 75 |)+,A1.;g|rab retu|
|000019c0| 72 6e 20 61 64 64 72 65 | 73 73 0d 09 4d 4f 56 45 |rn addre|ss..MOVE|
|000019d0| 2e 4c 09 53 69 67 48 61 | 6e 64 6c 65 2c 44 30 09 |.L.SigHa|ndle,D0.|
|000019e0| 09 09 3b 68 61 6e 64 6c | 65 20 74 6f 20 74 61 62 |..;handl|e to tab|
|000019f0| 6c 65 0d 09 42 45 51 09 | 53 69 67 44 65 61 74 68 |le..BEQ.|SigDeath|
|00001a00| 09 09 09 3b 69 66 20 4e | 49 4c 20 74 68 65 6e 20 |...;if N|IL then |
|00001a10| 63 72 6f 61 6b 0d 09 4d | 4f 56 45 2e 4c 09 44 30 |croak..M|OVE.L.D0|
|00001a20| 2c 41 30 09 09 09 09 3b | 70 75 74 20 68 61 6e 64 |,A0....;|put hand|
|00001a30| 6c 65 20 69 6e 20 41 2d | 72 65 67 69 73 74 65 72 |le in A-|register|
|00001a40| 0d 09 4d 4f 56 45 2e 4c | 09 53 69 67 4e 6f 77 2c |..MOVE.L|.SigNow,|
|00001a50| 44 30 0d 09 41 44 44 2e | 4c 09 23 53 69 67 45 6c |D0..ADD.|L.#SigEl|
|00001a60| 53 69 7a 65 2c 44 30 0d | 09 4d 4f 56 45 2e 4c 09 |Size,D0.|.MOVE.L.|
|00001a70| 44 30 2c 53 69 67 4e 6f | 77 09 09 09 3b 73 61 76 |D0,SigNo|w...;sav|
|00001a80| 65 20 6e 65 77 20 70 6f | 73 69 74 69 6f 6e 0d 09 |e new po|sition..|
|00001a90| 43 4d 50 2e 4c 09 53 69 | 67 45 6e 64 2c 44 30 09 |CMP.L.Si|gEnd,D0.|
|00001aa0| 09 09 3b 68 61 76 65 20 | 77 65 20 72 65 61 63 68 |..;have |we reach|
|00001ab0| 65 64 20 74 68 65 20 65 | 6e 64 3f 0d 09 42 4e 45 |ed the e|nd?..BNE|
|00001ac0| 2e 53 09 63 61 74 63 68 | 69 74 09 09 09 3b 6e 6f |.S.catch|it...;no|
|00001ad0| 2c 20 70 72 6f 63 65 65 | 64 0d 09 41 44 44 2e 4c |, procee|d..ADD.L|
|00001ae0| 09 23 53 69 67 43 68 75 | 6e 6b 73 2a 53 69 67 45 |.#SigChu|nks*SigE|
|00001af0| 6c 53 69 7a 65 2c 44 30 | 09 3b 77 65 27 6c 6c 20 |lSize,D0|.;we'll |
|00001b00| 74 72 79 20 74 6f 20 65 | 78 70 61 6e 64 0d 09 4d |try to e|xpand..M|
|00001b10| 4f 56 45 2e 4c 09 44 30 | 2c 53 69 67 45 6e 64 09 |OVE.L.D0|,SigEnd.|
|00001b20| 09 09 73 61 76 65 20 6e | 65 77 20 28 70 6f 74 65 |..save n|ew (pote|
|00001b30| 6e 74 69 61 6c 29 20 65 | 6e 64 0d 09 5f 53 65 74 |ntial) e|nd.._Set|
|00001b40| 48 61 6e 64 6c 65 53 69 | 7a 65 0d 09 42 45 51 2e |HandleSi|ze..BEQ.|
|00001b50| 53 09 40 30 09 3b 6a 75 | 6d 70 20 61 72 6f 75 6e |S.@0.;ju|mp aroun|
|00001b60| 64 20 69 66 20 69 74 20 | 77 6f 72 6b 65 64 21 0d |d if it |worked!.|
|00001b70| 09 09 09 0d 3b 73 69 67 | 6e 61 6c 73 2c 20 77 65 |....;sig|nals, we|
|00001b80| 20 75 73 65 20 27 65 6d | 20 6f 75 72 73 65 6c 76 | use 'em| ourselv|
|00001b90| 65 73 0d 09 4d 4f 56 45 | 2e 4c 09 53 69 67 4e 6f |es..MOVE|.L.SigNo|
|00001ba0| 77 2c 53 69 67 45 6e 64 | 09 09 09 3b 72 65 73 74 |w,SigEnd|...;rest|
|00001bb0| 6f 72 65 20 6f 6c 64 20 | 65 6e 64 69 6e 67 20 6f |ore old |ending o|
|00001bc0| 66 66 73 65 74 0d 09 4d | 4f 56 45 2e 4c 09 23 53 |ffset..M|OVE.L.#S|
|00001bd0| 69 67 45 6c 53 69 7a 65 | 2c 44 30 0d 09 53 55 42 |igElSize|,D0..SUB|
|00001be0| 2e 4c 09 44 30 2c 53 69 | 67 4e 6f 77 09 09 09 3b |.L.D0,Si|gNow...;|
|00001bf0| 64 69 74 74 6f 20 66 6f | 72 20 63 75 72 72 65 6e |ditto fo|r curren|
|00001c00| 74 20 70 6f 73 69 74 69 | 6f 6e 0d 09 4d 4f 56 45 |t positi|on..MOVE|
|00001c10| 2e 57 09 23 63 61 74 63 | 68 53 69 67 45 72 72 2c |.W.#catc|hSigErr,|
|00001c20| 28 53 50 29 09 09 3b 77 | 65 27 6c 6c 20 73 69 67 |(SP)..;w|e'll sig|
|00001c30| 6e 61 6c 20 61 20 22 63 | 6f 75 6c 64 6e 27 74 0d |nal a "c|ouldn't.|
|00001c40| 09 09 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00001c50| 20 20 20 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 | ; | |
|00001c60| 20 20 20 20 63 61 74 63 | 68 22 20 65 72 72 6f 72 | catc|h" error|
|00001c70| 0d 09 4a 53 52 09 53 69 | 67 6e 61 6c 09 3b 6e 65 |..JSR.Si|gnal.;ne|
|00001c80| 76 65 72 20 72 65 74 75 | 72 6e 73 20 6f 66 20 63 |ver retu|rns of c|
|00001c90| 6f 75 72 73 65 0d 40 30 | 09 4d 4f 56 45 2e 4c 09 |ourse.@0|.MOVE.L.|
|00001ca0| 53 69 67 4e 6f 77 2c 44 | 30 0d 09 09 09 0d 63 61 |SigNow,D|0.....ca|
|00001cb0| 74 63 68 69 74 09 4d 4f | 56 45 2e 4c 09 28 41 30 |tchit.MO|VE.L.(A0|
|00001cc0| 29 2c 41 30 09 3b 64 65 | 72 65 66 2e 0d 09 41 44 |),A0.;de|ref...AD|
|00001cd0| 44 2e 4c 09 44 30 2c 41 | 30 09 09 09 3b 70 6f 69 |D.L.D0,A|0...;poi|
|00001ce0| 6e 74 20 74 6f 20 6e 65 | 77 20 65 6e 74 72 79 0d |nt to ne|w entry.|
|00001cf0| 09 4d 4f 56 45 2e 4c 09 | 53 50 2c 53 69 67 53 50 |.MOVE.L.|SP,SigSP|
|00001d00| 28 41 30 29 09 09 3b 73 | 61 76 65 20 53 50 20 69 |(A0)..;s|ave SP i|
|00001d10| 6e 20 65 6e 74 72 79 0d | 09 4d 4f 56 45 2e 4c 09 |n entry.|.MOVE.L.|
|00001d20| 41 31 2c 53 69 67 52 65 | 74 41 64 64 72 28 41 30 |A1,SigRe|tAddr(A0|
|00001d30| 29 09 20 3b 73 61 76 65 | 20 72 65 74 75 72 6e 20 |). ;save| return |
|00001d40| 61 64 64 72 65 73 73 20 | 74 68 65 72 65 0d 09 43 |address |there..C|
|00001d50| 4d 50 2e 4c 09 23 53 69 | 67 42 69 67 41 36 2c 41 |MP.L.#Si|gBigA6,A|
|00001d60| 36 09 09 3b 61 72 65 20 | 77 65 20 61 74 20 74 68 |6..;are |we at th|
|00001d70| 65 20 6f 75 74 65 72 20 | 6c 65 76 65 6c 3f 0d 09 |e outer |level?..|
|00001d80| 42 45 51 2e 53 09 40 30 | 09 09 09 3b 79 65 73 2c |BEQ.S.@0|...;yes,|
|00001d90| 20 6e 6f 20 66 72 61 6d | 65 20 6f 72 20 63 6c 65 | no fram|e or cle|
|00001da0| 61 6e 75 70 20 6e 65 65 | 64 65 64 20 0d 09 4d 4f |anup nee|ded ..MO|
|00001db0| 56 45 2e 4c 09 46 72 61 | 6d 65 52 65 74 28 41 36 |VE.L.Fra|meRet(A6|
|00001dc0| 29 2c 53 69 67 46 52 65 | 74 28 41 30 29 3b 73 61 |),SigFRe|t(A0);sa|
|00001dd0| 76 65 20 6f 6c 64 20 66 | 72 61 6d 65 20 72 65 74 |ve old f|rame ret|
|00001de0| 75 72 6e 0d 09 09 20 20 | 20 20 20 20 20 20 20 20 |urn... | |
|00001df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00001e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 64 | | ad|
|00001e10| 64 72 65 73 73 0d 09 4c | 45 41 09 53 69 67 67 79 |dress..L|EA.Siggy|
|00001e20| 50 6f 70 2c 41 30 0d 09 | 4d 4f 56 45 2e 4c 09 41 |Pop,A0..|MOVE.L.A|
|00001e30| 30 2c 46 72 61 6d 65 52 | 65 74 28 41 36 29 20 09 |0,FrameR|et(A6) .|
|00001e40| 3b 73 65 74 20 63 6c 65 | 61 6e 75 70 20 63 6f 64 |;set cle|anup cod|
|00001e50| 65 20 61 64 64 72 65 73 | 73 0d 40 30 09 43 4c 52 |e addres|s.@0.CLR|
|00001e60| 2e 57 09 28 53 50 29 09 | 09 09 3b 6e 6f 20 65 72 |.W.(SP).|..;no er|
|00001e70| 72 6f 72 20 63 6f 64 65 | 20 28 62 65 66 6f 72 65 |ror code| (before|
|00001e80| 20 69 74 73 20 74 69 6d | 65 29 0d 09 4a 4d 50 09 | its tim|e)..JMP.|
|00001e90| 28 41 31 29 09 09 09 3b | 64 6f 6e 65 20 73 65 74 |(A1)...;|done set|
|00001ea0| 74 69 6e 67 20 74 68 65 | 20 74 72 61 70 0d 09 09 |ting the| trap...|
|00001eb0| 09 0d 53 69 67 67 79 50 | 6f 70 09 4a 53 52 09 53 |..SiggyP|op.JSR.S|
|00001ec0| 69 67 67 79 53 65 74 75 | 70 09 3b 67 65 74 20 70 |iggySetu|p.;get p|
|00001ed0| 6f 69 6e 74 65 72 20 74 | 6f 20 65 6c 65 6d 65 6e |ointer t|o elemen|
|00001ee0| 74 0d 09 4d 4f 56 45 2e | 4c 09 53 69 67 46 52 65 |t..MOVE.|L.SigFRe|
|00001ef0| 74 28 41 30 29 2c 41 30 | 09 20 3b 67 65 74 20 70 |t(A0),A0|. ;get p|
|00001f00| 72 6f 63 27 73 20 72 65 | 61 6c 20 72 65 74 75 72 |roc's re|al retur|
|00001f10| 6e 20 61 64 64 72 65 73 | 73 0d 09 53 55 42 2e 4c |n addres|s..SUB.L|
|00001f20| 09 23 53 69 67 45 6c 53 | 69 7a 65 2c 44 30 0d 09 |.#SigElS|ize,D0..|
|00001f30| 4d 4f 56 45 2e 4c 09 44 | 30 2c 53 69 67 4e 6f 77 |MOVE.L.D|0,SigNow|
|00001f40| 09 09 3b 22 70 6f 70 22 | 20 74 68 65 20 65 6e 74 |..;"pop"| the ent|
|00001f50| 72 79 0d 09 4a 4d 50 09 | 28 41 30 29 09 3b 67 6f |ry..JMP.|(A0).;go|
|00001f60| 6e 65 0d 09 45 4e 44 50 | 0d 46 72 65 65 53 69 67 |ne..ENDP|.FreeSig|
|00001f70| 6e 61 6c 09 50 52 4f 43 | 09 45 58 50 4f 52 54 09 |nal.PROC|.EXPORT.|
|00001f80| 3b 50 52 4f 43 45 44 55 | 52 45 20 46 72 65 65 53 |;PROCEDU|RE FreeS|
|00001f90| 69 67 6e 61 6c 3b 0d 09 | 49 4d 50 4f 52 54 09 53 |ignal;..|IMPORT.S|
|00001fa0| 69 67 67 79 53 65 74 75 | 70 0d 09 57 49 54 48 09 |iggySetu|p..WITH.|
|00001fb0| 53 69 67 45 6c 65 6d 65 | 6e 74 2c 53 69 67 47 6c |SigEleme|nt,SigGl|
|00001fc0| 6f 62 61 6c 73 0d 09 4a | 53 52 09 53 69 67 67 79 |obals..J|SR.Siggy|
|00001fd0| 53 65 74 75 70 09 09 09 | 3b 67 65 74 20 70 6f 69 |Setup...|;get poi|
|00001fe0| 6e 74 65 72 20 74 6f 20 | 63 75 72 72 65 6e 74 20 |nter to |current |
|00001ff0| 65 6e 74 72 79 0d 09 4d | 4f 56 45 2e 4c 09 53 69 |entry..M|OVE.L.Si|
|00002000| 67 46 52 65 74 28 41 30 | 29 2c 46 72 61 6d 65 52 |gFRet(A0|),FrameR|
|00002010| 65 74 28 41 36 29 09 3b | 22 70 6f 70 22 20 63 6c |et(A6).;|"pop" cl|
|00002020| 65 61 6e 75 70 20 63 6f | 64 65 0d 09 53 55 42 2e |eanup co|de..SUB.|
|00002030| 4c 09 23 53 69 67 45 6c | 53 69 7a 65 2c 44 30 0d |L.#SigEl|Size,D0.|
|00002040| 09 4d 4f 56 45 2e 4c 09 | 44 30 2c 53 69 67 4e 6f |.MOVE.L.|D0,SigNo|
|00002050| 77 09 09 09 3b 22 70 6f | 70 22 20 74 68 65 20 65 |w...;"po|p" the e|
|00002060| 6e 74 72 79 0d 09 52 54 | 53 0d 09 45 4e 44 50 0d |ntry..RT|S..ENDP.|
|00002070| 53 69 67 6e 61 6c 09 50 | 52 4f 43 09 45 58 50 4f |Signal.P|ROC.EXPO|
|00002080| 52 54 09 3b 50 52 4f 43 | 45 44 55 52 45 20 53 69 |RT.;PROC|EDURE Si|
|00002090| 67 6e 61 6c 28 63 6f 64 | 65 3a 49 4e 54 45 47 45 |gnal(cod|e:INTEGE|
|000020a0| 52 29 3b 0d 09 45 58 50 | 4f 52 54 09 53 69 67 67 |R);..EXP|ORT.Sigg|
|000020b0| 79 53 65 74 75 70 2c 53 | 69 67 44 65 61 74 68 0d |ySetup,S|igDeath.|
|000020c0| 09 57 49 54 48 09 53 69 | 67 45 6c 65 6d 65 6e 74 |.WITH.Si|gElement|
|000020d0| 2c 53 69 67 47 6c 6f 62 | 61 6c 73 0d 09 4d 4f 56 |,SigGlob|als..MOV|
|000020e0| 45 2e 57 09 34 28 53 50 | 29 2c 44 31 09 09 3b 67 |E.W.4(SP|),D1..;g|
|000020f0| 65 74 20 63 6f 64 65 0d | 09 42 4e 45 2e 53 09 40 |et code.|.BNE.S.@|
|00002100| 30 09 09 09 3b 70 72 6f | 63 65 73 73 20 74 68 65 |0...;pro|cess the|
|00002110| 20 73 69 67 6e 61 6c 20 | 69 66 20 63 6f 64 65 20 | signal |if code |
|00002120| 69 73 20 6e 6f 6e 2d 7a | 65 72 6f 0d 09 4d 4f 56 |is non-z|ero..MOV|
|00002130| 45 2e 4c 09 28 53 50 29 | 2c 41 30 09 09 3b 73 61 |E.L.(SP)|,A0..;sa|
|00002140| 76 65 20 72 65 74 75 72 | 6e 20 61 64 64 72 65 73 |ve retur|n addres|
|00002150| 73 0d 09 41 44 44 51 2e | 4c 09 23 36 2c 53 50 09 |s..ADDQ.|L.#6,SP.|
|00002160| 09 09 3b 61 64 6a 75 73 | 74 20 73 74 61 63 6b 20 |..;adjus|t stack |
|00002170| 70 6f 69 6e 74 65 72 0d | 09 4a 4d 50 09 28 41 30 |pointer.|.JMP.(A0|
|00002180| 29 09 09 09 3b 72 65 74 | 75 72 6e 20 74 6f 20 63 |)...;ret|urn to c|
|00002190| 61 6c 6c 65 72 28 63 6f | 64 65 20 77 61 73 20 30 |aller(co|de was 0|
|000021a0| 29 0d 40 30 09 4a 53 52 | 09 53 69 67 67 79 53 65 |).@0.JSR|.SiggySe|
|000021b0| 74 75 70 09 09 3b 67 65 | 74 20 70 6f 69 6e 74 65 |tup..;ge|t pointe|
|000021c0| 72 20 74 6f 20 65 6e 74 | 72 79 0d 09 42 52 41 2e |r to ent|ry..BRA.|
|000021d0| 53 09 53 69 67 4c 6f 6f | 70 31 0d 09 09 09 0d 53 |S.SigLoo|p1.....S|
|000021e0| 69 67 4c 6f 6f 70 09 55 | 4e 4c 4b 09 41 36 09 09 |igLoop.U|NLK.A6..|
|000021f0| 3b 75 6e 6c 69 6e 6b 20 | 73 74 61 63 6b 20 62 79 |;unlink |stack by|
|00002200| 20 6f 6e 65 20 66 72 61 | 6d 65 0d 53 69 67 4c 6f | one fra|me.SigLo|
|00002210| 6f 70 31 09 43 4d 50 2e | 4c 09 53 69 67 53 50 28 |op1.CMP.|L.SigSP(|
|00002220| 41 30 29 2c 41 36 09 3b | 69 73 20 41 36 20 62 65 |A0),A6.;|is A6 be|
|00002230| 79 6f 6e 64 20 74 68 65 | 20 73 61 76 65 64 20 73 |yond the| saved s|
|00002240| 74 61 63 6b 3f 0d 09 42 | 4c 4f 2e 53 09 53 69 67 |tack?..B|LO.S.Sig|
|00002250| 4c 6f 6f 70 09 09 3b 79 | 65 73 2c 20 6b 65 65 70 |Loop..;y|es, keep|
|00002260| 20 75 6e 6c 69 6e 6b 69 | 6e 67 0d 09 4d 4f 56 45 | unlinki|ng..MOVE|
|00002270| 2e 4c 09 53 69 67 53 50 | 28 41 30 29 2c 53 50 09 |.L.SigSP|(A0),SP.|
|00002280| 09 3b 62 72 69 6e 67 20 | 62 61 63 6b 20 6f 75 72 |.;bring |back our|
|00002290| 20 53 50 0d 09 4d 4f 56 | 45 2e 4c 09 53 69 67 52 | SP..MOV|E.L.SigR|
|000022a0| 65 74 41 64 64 72 28 41 | 30 29 2c 41 30 20 09 3b |etAddr(A|0),A0 .;|
|000022b0| 67 65 74 20 72 65 74 75 | 72 6e 20 61 64 64 72 65 |get retu|rn addre|
|000022c0| 73 73 0d 09 4d 4f 56 45 | 2e 57 09 44 31 2c 28 53 |ss..MOVE|.W.D1,(S|
|000022d0| 50 29 09 09 3b 72 65 74 | 75 72 6e 20 63 6f 64 65 |P)..;ret|urn code|
|000022e0| 20 74 6f 20 43 61 74 63 | 68 53 69 67 6e 61 6c 0d | to Catc|hSignal.|
|000022f0| 09 4a 4d 50 09 28 41 30 | 29 09 3b 48 6f 75 73 74 |.JMP.(A0|).;Houst|
|00002300| 6f 6e 2c 20 62 6f 6f 73 | 74 20 74 68 65 20 53 69 |on, boos|t the Si|
|00002310| 67 6e 61 6c 21 0d 09 09 | 3b 28 6f 72 20 48 6f 6f |gnal!...|;(or Hoo|
|00002320| 73 74 6f 6e 20 69 66 20 | 79 6f 75 27 72 65 20 66 |ston if |you're f|
|00002330| 72 6f 6d 20 74 68 65 20 | 4e 65 67 61 74 69 76 65 |rom the |Negative|
|00002340| 20 5a 6f 6e 65 29 20 0d | 53 69 67 67 79 53 65 74 | Zone) .|SiggySet|
|00002350| 75 70 09 4d 4f 56 45 2e | 4c 09 53 69 67 48 61 6e |up.MOVE.|L.SigHan|
|00002360| 64 6c 65 2c 41 30 0d 09 | 4d 4f 56 45 2e 4c 09 28 |dle,A0..|MOVE.L.(|
|00002370| 41 30 29 2c 41 30 09 3b | 64 65 72 65 66 2e 0d 09 |A0),A0.;|deref...|
|00002380| 4d 4f 56 45 2e 4c 09 41 | 30 2c 44 30 09 09 3b 74 |MOVE.L.A|0,D0..;t|
|00002390| 6f 20 73 65 74 20 43 43 | 52 0d 09 42 45 51 2e 53 |o set CC|R..BEQ.S|
|000023a0| 09 53 69 67 44 65 61 74 | 68 09 3b 6e 69 6c 20 68 |.SigDeat|h.;nil h|
|000023b0| 61 6e 64 6c 65 20 6d 65 | 61 6e 73 20 74 72 6f 75 |andle me|ans trou|
|000023c0| 62 6c 65 0d 09 4d 4f 56 | 45 2e 4c 09 53 69 67 4e |ble..MOV|E.L.SigN|
|000023d0| 6f 77 2c 44 30 09 3b 67 | 72 61 62 20 74 61 62 6c |ow,D0.;g|rab tabl|
|000023e0| 65 20 6f 66 66 73 65 74 | 20 74 6f 20 65 6e 74 72 |e offset| to entr|
|000023f0| 79 0d 09 42 4d 49 2e 53 | 09 53 69 67 44 65 61 74 |y..BMI.S|.SigDeat|
|00002400| 68 09 3b 69 66 20 6e 6f | 20 65 6e 74 72 69 65 73 |h.;if no| entries|
|00002410| 20 74 68 65 6e 20 67 69 | 76 65 20 75 70 0d 09 41 | then gi|ve up..A|
|00002420| 44 44 2e 4c 09 44 30 2c | 41 30 09 09 3b 70 6f 69 |DD.L.D0,|A0..;poi|
|00002430| 6e 74 20 74 6f 20 63 75 | 72 72 65 6e 74 20 65 6c |nt to cu|rrent el|
|00002440| 65 6d 65 6e 74 0d 09 52 | 54 53 0d 53 69 67 44 65 |ement..R|TS.SigDe|
|00002450| 61 74 68 09 5f 44 65 62 | 75 67 67 65 72 09 09 3b |ath._Deb|ugger..;|
|00002460| 61 20 73 69 67 6e 61 6c | 20 73 61 6e 73 20 63 61 |a signal| sans ca|
|00002470| 74 63 68 20 69 73 20 62 | 61 64 20 6e 65 77 73 0d |tch is b|ad news.|
|00002480| 09 45 4e 44 50 0d 09 45 | 4e 44 0d 4e 6f 77 20 66 |.ENDP..E|ND.Now f|
|00002490| 6f 72 20 74 68 65 20 65 | 78 61 6d 70 6c 65 20 50 |or the e|xample P|
|000024a0| 61 73 63 61 6c 20 70 72 | 6f 67 72 61 6d 3a 0d 50 |ascal pr|ogram:.P|
|000024b0| 52 4f 47 52 41 4d 20 54 | 65 73 74 53 69 67 6e 61 |ROGRAM T|estSigna|
|000024c0| 6c 73 3b 0d 55 53 45 53 | 20 45 72 72 53 69 67 6e |ls;.USES| ErrSign|
|000024d0| 61 6c 3b 0d 56 41 52 20 | 69 3a 49 4e 54 45 47 45 |al;.VAR |i:INTEGE|
|000024e0| 52 3b 0d 50 52 4f 43 45 | 44 55 52 45 20 44 6f 43 |R;.PROCE|DURE DoC|
|000024f0| 61 74 63 68 28 73 3a 53 | 54 52 32 35 35 3b 20 63 |atch(s:S|TR255; c|
|00002500| 6f 64 65 3a 49 4e 54 45 | 47 45 52 29 3b 0d 42 45 |ode:INTE|GER);.BE|
|00002510| 47 49 4e 0d 20 20 49 46 | 20 63 6f 64 65 3c 3e 30 |GIN. IF| code<>0|
|00002520| 20 54 48 45 4e 20 42 45 | 47 49 4e 0d 20 20 20 20 | THEN BE|GIN. |
|00002530| 57 72 69 74 65 6c 6e 28 | 73 2c 63 6f 64 65 29 3b |Writeln(|s,code);|
|00002540| 0d 20 20 20 20 45 78 69 | 74 28 54 65 73 74 53 69 |. Exi|t(TestSi|
|00002550| 67 6e 61 6c 73 29 3b 0d | 20 20 45 4e 44 3b 0d 45 |gnals);.| END;.E|
|00002560| 4e 44 3b 20 7b 44 6f 43 | 61 74 63 68 7d 0d 50 52 |ND; {DoC|atch}.PR|
|00002570| 4f 43 45 44 55 52 45 20 | 45 61 73 79 3b 0d 20 20 |OCEDURE |Easy;. |
|00002580| 50 52 4f 43 45 44 55 52 | 45 20 4e 65 76 65 72 3b |PROCEDUR|E Never;|
|00002590| 0d 20 20 20 20 50 52 4f | 43 45 44 55 52 45 20 44 |. PRO|CEDURE D|
|000025a0| 6f 43 61 74 63 68 28 73 | 3a 53 54 52 32 35 35 3b |oCatch(s|:STR255;|
|000025b0| 20 63 6f 64 65 3a 49 4e | 54 45 47 45 52 29 3b 0d | code:IN|TEGER);.|
|000025c0| 20 20 20 20 42 45 47 49 | 4e 0d 20 20 20 20 20 20 | BEGI|N. |
|000025d0| 49 46 20 63 6f 64 65 3c | 3e 30 20 54 48 45 4e 20 |IF code<|>0 THEN |
|000025e0| 42 45 47 49 4e 0d 20 20 | 20 20 20 20 20 20 57 72 |BEGIN. | Wr|
|000025f0| 69 74 65 6c 6e 28 73 2c | 63 6f 64 65 29 3b 0d 20 |iteln(s,|code);. |
|00002600| 20 20 20 20 20 20 20 45 | 78 69 74 28 4e 65 76 65 | E|xit(Neve|
|00002610| 72 29 3b 0d 20 20 20 20 | 20 20 45 4e 44 3b 0d 20 |r);. | END;. |
|00002620| 20 20 20 45 4e 44 3b 20 | 7b 44 6f 43 61 74 63 68 | END; |{DoCatch|
|00002630| 7d 0d 20 20 42 45 47 49 | 4e 20 7b 4e 65 76 65 72 |}. BEGI|N {Never|
|00002640| 7d 0d 20 20 69 3a 3d 43 | 61 74 63 68 53 69 67 6e |}. i:=C|atchSign|
|00002650| 61 6c 3b 0d 20 20 44 6f | 43 61 74 63 68 28 27 53 |al;. Do|Catch('S|
|00002660| 69 67 6e 61 6c 20 63 61 | 75 67 68 74 20 66 72 6f |ignal ca|ught fro|
|00002670| 6d 20 4e 65 76 65 72 2c | 20 63 6f 64 65 20 3d 20 |m Never,| code = |
|00002680| 27 2c 20 69 20 29 3b 0d | 20 20 69 3a 3d 43 61 74 |', i );.| i:=Cat|
|00002690| 63 68 53 69 67 6e 61 6c | 3b 0d 20 20 49 46 20 69 |chSignal|;. IF i|
|000026a0| 3c 3e 30 20 54 48 45 4e | 20 44 6f 43 61 74 63 68 |<>0 THEN| DoCatch|
|000026b0| 28 27 53 68 6f 75 6c 64 | 20 6e 65 76 65 72 20 67 |('Should| never g|
|000026c0| 65 74 20 68 65 72 65 21 | 27 2c 69 29 3b 0d 09 20 |et here!|',i);.. |
|000026d0| 20 20 0d 20 20 46 72 65 | 65 53 69 67 6e 61 6c 3b | . Fre|eSignal;|
|000026e0| 20 7b 22 66 72 65 65 22 | 20 74 68 65 20 6c 61 73 | {"free"| the las|
|000026f0| 74 20 43 61 74 63 68 53 | 69 67 6e 61 6c 7d 0d 20 |t CatchS|ignal}. |
|00002700| 20 53 69 67 6e 61 6c 28 | 37 29 3b 20 7b 53 69 67 | Signal(|7); {Sig|
|00002710| 6e 61 6c 20 61 20 37 20 | 74 6f 20 74 68 65 20 6c |nal a 7 |to the l|
|00002720| 61 73 74 20 43 61 74 63 | 68 53 69 67 6e 61 6c 7d |ast Catc|hSignal}|
|00002730| 0d 20 20 45 4e 44 3b 7b | 4e 65 76 65 72 7d 0d 42 |. END;{|Never}.B|
|00002740| 45 47 49 4e 20 7b 45 61 | 73 79 7d 0d 4e 65 76 65 |EGIN {Ea|sy}.Neve|
|00002750| 72 3b 0d 53 69 67 6e 61 | 6c 28 36 39 29 3b 20 09 |r;.Signa|l(69); .|
|00002760| 7b 74 68 69 73 20 77 6f | 6e 27 74 20 62 65 20 63 |{this wo|n't be c|
|00002770| 61 75 67 68 74 20 69 6e | 20 4e 65 76 65 72 7d 0d |aught in| Never}.|
|00002780| 45 4e 44 3b 7b 45 61 73 | 79 7d 09 7b 61 6c 6c 20 |END;{Eas|y}.{all |
|00002790| 6c 6f 63 61 6c 20 43 61 | 74 63 68 53 69 67 6e 61 |local Ca|tchSigna|
|000027a0| 6c 73 20 61 72 65 20 66 | 72 65 65 64 20 77 68 65 |ls are f|reed whe|
|000027b0| 6e 20 61 20 70 72 6f 63 | 65 64 75 72 65 20 65 78 |n a proc|edure ex|
|000027c0| 69 74 73 2e 7d 0d 42 45 | 47 49 4e 20 7b 50 52 4f |its.}.BE|GIN {PRO|
|000027d0| 47 52 41 4d 7d 0d 49 6e | 69 74 53 69 67 6e 61 6c |GRAM}.In|itSignal|
|000027e0| 73 3b 20 7b 59 6f 75 20 | 6d 75 73 74 20 63 61 6c |s; {You |must cal|
|000027f0| 6c 20 74 68 69 73 20 65 | 61 72 6c 79 20 6f 6e 21 |l this e|arly on!|
|00002800| 7d 0d 7b 63 61 74 63 68 | 20 53 69 67 6e 61 6c 73 |}.{catch| Signals|
|00002810| 20 6e 6f 74 20 6f 74 68 | 65 72 77 69 73 65 20 63 | not oth|erwise c|
|00002820| 61 75 67 68 74 20 62 79 | 20 74 68 65 20 70 72 6f |aught by| the pro|
|00002830| 67 72 61 6d 7d 0d 69 3a | 3d 43 61 74 63 68 53 69 |gram}.i:|=CatchSi|
|00002840| 67 6e 61 6c 3b 0d 49 46 | 20 69 3c 3e 30 20 54 48 |gnal;.IF| i<>0 TH|
|00002850| 45 4e 0d 20 44 6f 43 61 | 74 63 68 28 27 53 69 67 |EN. DoCa|tch('Sig|
|00002860| 6e 61 6c 20 63 61 75 67 | 68 74 20 66 72 6f 6d 20 |nal caug|ht from |
|00002870| 6d 61 69 6e 2c 20 63 6f | 64 65 20 3d 20 27 2c 69 |main, co|de = ',i|
|00002880| 29 3b 0d 45 61 73 79 3b | 0d 45 4e 44 2e 0d 54 68 |);.Easy;|.END..Th|
|00002890| 65 20 65 78 61 6d 70 6c | 65 20 70 72 6f 67 72 61 |e exampl|e progra|
|000028a0| 6d 20 70 72 6f 64 75 63 | 65 73 20 74 68 65 20 66 |m produc|es the f|
|000028b0| 6f 6c 6c 6f 77 69 6e 67 | 20 74 77 6f 20 6c 69 6e |ollowing| two lin|
|000028c0| 65 73 20 6f 66 20 6f 75 | 74 70 75 74 3a 0d 20 53 |es of ou|tput:. S|
|000028d0| 69 67 6e 61 6c 20 63 61 | 75 67 68 74 20 66 72 6f |ignal ca|ught fro|
|000028e0| 6d 20 4e 65 76 65 72 2c | 20 63 6f 64 65 20 3d 20 |m Never,| code = |
|000028f0| 37 0d 20 53 69 67 6e 61 | 6c 20 63 61 75 67 68 74 |7. Signa|l caught|
|00002900| 20 66 72 6f 6d 20 6d 61 | 69 6e 2c 20 63 6f 64 65 | from ma|in, code|
|00002910| 20 3d 20 36 39 0d 46 75 | 72 74 68 65 72 20 52 65 | = 69.Fu|rther Re|
|00002920| 66 65 72 65 6e 63 65 3a | 0d a5 09 55 73 69 6e 67 |ference:|...Using|
|00002930| 20 41 73 73 65 6d 62 6c | 79 20 4c 61 6e 67 75 61 | Assembl|y Langua|
|00002940| 67 65 20 28 4d 69 78 69 | 6e 67 20 50 61 73 63 61 |ge (Mixi|ng Pasca|
|00002950| 6c 20 26 20 41 73 73 65 | 6d 62 6c 79 29 0d 1b 2c |l & Asse|mbly)..,|
|00002960| 00 00 00 00 03 48 02 52 | 00 11 02 ff 0c 00 ff ff |.....H.R|........|
|00002970| ff ff 00 00 00 00 00 00 | 00 00 02 52 00 00 03 48 |........|...R...H|
|00002980| 00 00 00 00 00 00 00 a1 | 00 64 00 0c 57 4f 52 44 |........|.d..WORD|
|00002990| 00 00 00 00 00 53 01 ca | 00 a0 00 8c 00 a1 00 64 |.....S..|.......d|
|000029a0| 00 0c 57 4f 52 44 00 00 | 00 00 00 52 01 c9 00 a0 |..WORD..|...R....|
|000029b0| 00 82 00 1e 00 01 00 0a | 00 2f 00 5a 00 81 02 23 |........|./.Z...#|
|000029c0| 00 07 00 00 00 00 00 08 | 00 0a 00 09 30 49 88 3a |........|....0I.:|
|000029d0| b5 9c f0 39 00 22 00 7b | 02 1a 00 00 00 09 ff ff |...9.".{|........|
|000029e0| ff ff ff ff ff ff 00 23 | 00 00 00 a0 00 c4 00 a1 |.......#|........|
|000029f0| 00 64 00 0a 4f 4e 4c 4e | 00 66 00 00 01 fe 00 a0 |.d..ONLN|.f......|
|00002a00| 00 8c 00 a1 00 64 00 31 | 64 72 77 32 00 02 01 c9 |.....d.1|drw2....|
|00002a10| 00 2d 01 e1 01 5f 00 00 | 80 00 00 00 00 00 00 00 |.-..._..|........|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00002a30| 00 01 00 00 01 8f 00 00 | 00 00 00 a1 00 96 00 0c |........|........|
|00002a40| 01 00 00 00 02 78 00 00 | 00 00 00 00 00 a1 00 64 |.....x..|.......d|
|00002a50| 00 10 64 72 77 32 00 3a | 00 05 00 00 00 00 00 01 |..drw2.:|........|
|00002a60| 00 00 00 a1 00 64 00 0e | 64 72 77 32 00 3a 00 02 |.....d..|drw2.:..|
|00002a70| 00 24 00 00 00 00 00 a1 | 00 64 00 34 64 72 77 32 |.$......|.d.4drw2|
|00002a80| 00 3a 00 01 00 03 01 00 | 00 18 00 00 00 00 00 00 |.:......|........|
|00002a90| 00 00 00 00 00 01 00 01 | 00 01 00 01 00 00 00 00 |........|........|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 a1 00 9a 00 08 ff fa | 00 00 00 97 40 00 00 a0 |........|....@...|
|00002ac0| 00 98 00 2c 00 08 00 14 | 05 54 69 6d 65 73 00 03 |...,....|.Times..|
|00002ad0| 00 14 00 04 01 00 00 0d | 00 18 00 2e 00 04 00 00 |........|........|
|00002ae0| 01 00 00 10 57 49 51 6b | 57 49 51 6b 00 2b 5d 42 |....WIQk|WIQk.+]B|
|00002af0| 13 4e 65 77 20 54 65 63 | 68 6e 69 63 61 6c 20 4e |.New Tec|hnical N|
|00002b00| 6f 74 65 73 00 a0 00 99 | 00 a1 00 64 00 08 64 72 |otes....|...d..dr|
|00002b10| 77 32 00 3a 00 04 00 a1 | 14 e3 00 02 00 01 00 a0 |w2.:....|........|
|00002b20| 00 97 00 a1 00 64 00 31 | 64 72 77 32 00 02 02 06 |.....d.1|drw2....|
|00002b30| 01 65 02 19 01 f4 00 00 | 80 00 00 00 00 00 00 00 |.e......|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00002b50| 00 01 00 00 01 50 00 00 | 00 00 00 a1 00 96 00 0c |.....P..|........|
|00002b60| 01 00 00 00 02 78 00 00 | 00 00 00 00 00 a1 00 64 |.....x..|.......d|
|00002b70| 00 10 64 72 77 32 00 3a | 00 05 00 00 00 00 00 01 |..drw2.:|........|
|00002b80| 00 00 00 a1 00 64 00 0e | 64 72 77 32 00 3a 00 02 |.....d..|drw2.:..|
|00002b90| 00 24 00 00 00 00 00 a1 | 00 64 00 34 64 72 77 32 |.$......|.d.4drw2|
|00002ba0| 00 3a 00 01 00 03 00 00 | 00 12 00 00 00 00 00 00 |.:......|........|
|00002bb0| 00 00 00 00 00 01 00 01 | 00 01 00 01 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 a1 00 9a 00 08 ff fb | 80 00 00 45 c0 00 00 a0 |........|...E....|
|00002be0| 00 98 00 04 00 00 00 0d | 00 12 00 15 16 80 00 28 |........|.......(|
|00002bf0| 00 7b 01 95 11 44 65 76 | 65 6c 6f 70 65 72 20 53 |.{...Dev|eloper S|
|00002c00| 75 70 70 6f 72 74 00 a0 | 00 99 00 a1 00 64 00 08 |upport..|.....d..|
|00002c10| 64 72 77 32 00 3a 00 04 | 00 a1 14 e3 00 02 00 01 |drw2.:..|........|
|00002c20| 00 a0 00 97 00 a1 00 64 | 00 60 64 72 77 32 00 03 |.......d|.`drw2..|
|00002c30| 02 00 00 2d 02 00 01 ef | 00 00 00 00 00 00 00 00 |...-....|........|
|00002c40| 02 02 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00002c50| ff ff 00 01 00 01 08 4b | 00 00 00 00 02 00 01 ef |.......K|........|
|00002c60| 02 00 00 2d 00 00 00 00 | 00 00 00 00 00 01 00 14 |...-....|........|
|00002c70| 00 0c 00 03 00 02 00 00 | 00 5a 00 01 00 00 00 02 |........|.Z......|
|00002c80| 00 00 00 03 00 0c 00 00 | 00 00 00 07 00 02 00 02 |........|........|
|00002c90| 00 08 00 08 00 20 00 66 | 02 1c 00 66 00 5a 00 a1 |..... .f|...f.Z..|
|00002ca0| 00 64 00 31 64 72 77 32 | 00 02 01 ca 01 c0 01 fa |.d.1drw2|........|
|00002cb0| 01 e9 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 ff ff | ff ff ff ff 00 01 00 00 |........|........|
|00002cd0| 01 4b 00 00 00 00 00 a1 | 00 96 00 0c 01 00 00 00 |.K......|........|
|00002ce0| 02 78 00 00 00 00 00 00 | 00 a1 00 64 00 10 64 72 |.x......|...d..dr|
|00002cf0| 77 32 00 3a 00 05 00 00 | 00 00 00 01 00 00 00 a1 |w2.:....|........|
|00002d00| 00 64 00 0e 64 72 77 32 | 00 3a 00 02 00 24 00 00 |.d..drw2|.:...$..|
|00002d10| 00 00 00 a1 00 64 00 34 | 64 72 77 32 00 3a 00 01 |.....d.4|drw2.:..|
|00002d20| 00 03 00 00 00 30 00 00 | 00 00 00 00 00 00 00 00 |.....0..|........|
|00002d30| 00 01 00 01 00 01 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a1 00 9a |........|........|
|00002d50| 00 08 ff f4 00 00 00 13 | 80 00 00 a0 00 98 00 0d |........|........|
|00002d60| 00 30 00 28 00 55 01 ef | 01 f0 00 a0 00 99 00 a1 |.0.(.U..|........|
|00002d70| 00 64 00 08 64 72 77 32 | 00 3a 00 04 00 a1 14 e3 |.d..drw2|.:......|
|00002d80| 00 02 00 01 00 a0 00 97 | 00 a1 00 64 00 31 64 72 |........|...d.1dr|
|00002d90| 77 32 00 02 01 ef 01 e6 | 01 fa 01 f0 00 00 00 00 |w2......|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| ff ff ff ff ff ff 00 01 | 00 00 01 00 00 00 00 00 |........|........|
|00002dc0| 00 a1 00 96 00 0c 01 00 | 00 00 02 78 00 00 00 00 |........|...x....|
|00002dd0| 00 00 00 a1 00 64 00 10 | 64 72 77 32 00 3a 00 05 |.....d..|drw2.:..|
|00002de0| 00 00 00 00 00 01 00 00 | 00 a1 00 64 00 0e 64 72 |........|...d..dr|
|00002df0| 77 32 00 3a 00 02 00 24 | 00 00 00 00 00 a1 00 64 |w2.:...$|.......d|
|00002e00| 00 34 64 72 77 32 00 3a | 00 01 00 03 00 00 00 09 |.4drw2.:|........|
|00002e10| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 01 00 01 |........|........|
|00002e20| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 a1 | 00 9a 00 08 ff fd 80 00 |........|........|
|00002e40| 00 04 00 00 00 a0 00 98 | 00 0d 00 09 00 15 6c 00 |........|......l.|
|00002e50| 00 2b 26 09 01 a8 00 a0 | 00 99 00 a1 00 64 00 08 |.+&.....|.....d..|
|00002e60| 64 72 77 32 00 3a 00 04 | 00 a1 14 e3 00 02 00 01 |drw2.:..|........|
|00002e70| 00 a0 00 97 00 a1 00 64 | 00 31 64 72 77 32 00 02 |.......d|.1drw2..|
|00002e80| 01 e5 00 2d 01 f8 00 79 | 00 00 00 00 00 00 00 00 |...-...y|........|
|00002e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00002ea0| ff ff 00 01 00 01 01 00 | 00 00 01 00 00 a1 00 96 |........|........|
|00002eb0| 00 0c 01 00 00 00 02 78 | 00 00 00 00 00 00 00 a1 |.......x|........|
|00002ec0| 00 64 00 10 64 72 77 32 | 00 3a 00 05 00 00 00 00 |.d..drw2|.:......|
|00002ed0| 00 01 00 00 00 a1 00 64 | 00 0e 64 72 77 32 00 3a |.......d|..drw2.:|
|00002ee0| 00 02 00 24 00 00 00 00 | 00 a1 00 64 00 34 64 72 |...$....|...d.4dr|
|00002ef0| 77 32 00 3a 00 01 00 03 | 00 00 00 12 00 00 00 00 |w2.:....|........|
|00002f00| 00 00 00 00 00 00 00 01 | 00 01 00 01 00 01 00 00 |........|........|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 a1 00 9a 00 08 | ff fb 80 00 00 25 00 00 |........|.....%..|
|00002f30| 00 a0 00 98 00 0d 00 12 | 00 15 42 80 00 28 00 5a |........|..B..(.Z|
|00002f40| 00 5c 09 4d 61 63 69 6e | 74 6f 73 68 00 a0 00 99 |.\.Macin|tosh....|
|00002f50| 00 a1 00 64 00 08 64 72 | 77 32 00 3a 00 04 00 a1 |...d..dr|w2.:....|
|00002f60| 14 e3 00 02 00 01 00 a0 | 00 97 00 a0 00 8d 00 a1 |........|........|
|00002f70| 00 64 00 06 64 72 77 32 | 00 44 00 a0 00 83 00 a1 |.d..drw2|.D......|
|00002f80| 00 64 00 04 57 4f 52 44 | 00 a0 00 8d 00 01 00 0a |.d..WORD|........|
|00002f90| 00 00 00 00 03 48 02 52 | 00 04 01 00 00 2e 00 04 |.....H.R|........|
|00002fa0| 00 00 00 00 00 10 00 01 | 00 01 00 01 00 01 00 a1 |........|........|
|00002fb0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 00 00 8e 00 5a |.d..ONLN|.d.....Z|
|00002fc0| 00 a1 00 da 00 28 00 9c | 00 5a 0f 50 54 20 33 34 |.....(..|.Z.PT 34|
|00002fd0| 20 2d 20 53 69 67 6e 61 | 6c 73 00 0d 00 0e 00 a1 | - Signa|ls......|
|00002fe0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 10 00 a0 00 5a |.d..ONLN|.d.....Z|
|00002ff0| 00 af 00 d6 00 2a 10 11 | 50 6c 61 74 66 6f 72 6d |.....*..|Platform|
|00003000| 73 20 26 20 54 6f 6f 6c | 73 00 00 04 00 00 00 0d |s & Tool|s.......|
|00003010| 00 0c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 23 |.....d..|ONLN.d.#|
|00003020| 00 bb 00 5a 00 c7 00 92 | 00 2a 18 0b 52 65 76 69 |...Z....|.*..Revi|
|00003030| 73 65 64 20 62 79 3a 00 | 00 a1 00 64 00 10 4f 4e |sed by:.|...d..ON|
|00003040| 4c 4e 00 64 00 30 00 bb | 01 e3 00 c7 02 1c 00 28 |LN.d.0..|.......(|
|00003050| 00 c4 01 e3 0a 4d 61 72 | 63 68 20 31 39 38 38 00 |.....Mar|ch 1988.|
|00003060| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 3b 00 c7 |...d..ON|LN.d.;..|
|00003070| 00 5a 00 d3 00 8f 00 28 | 00 d0 00 5a 0b 57 72 69 |.Z.....(|...Z.Wri|
|00003080| 74 74 65 6e 20 62 79 3a | 00 a1 00 64 00 10 4f 4e |tten by:|...d..ON|
|00003090| 4c 4e 00 64 00 47 00 c7 | 00 a2 00 d3 00 d2 00 29 |LN.d.G..|.......)|
|000030a0| 48 0a 52 69 63 6b 20 42 | 6c 61 69 72 00 a1 00 64 |H.Rick B|lair...d|
|000030b0| 00 10 4f 4e 4c 4e 00 64 | 00 52 00 c7 01 df 00 d3 |..ONLN.d|.R......|
|000030c0| 02 1c 00 28 00 d0 01 df | 0b 41 75 67 75 73 74 20 |...(....|.August |
|000030d0| 31 39 38 36 00 06 00 01 | 00 00 00 a1 00 64 00 10 |1986....|.....d..|
|000030e0| 4f 4e 4c 4e 00 64 00 5e | 00 df 00 5a 00 eb 00 c5 |ONLN.d.^|...Z....|
|000030f0| 00 28 00 e8 00 5a 16 53 | 69 67 6e 61 6c 73 20 61 |.(...Z.S|ignals a|
|00003100| 72 65 20 61 20 66 6f 72 | 6d 20 6f 66 20 00 00 06 |re a for|m of ...|
|00003110| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003120| 00 74 00 df 00 c5 00 eb | 02 1c 00 29 6b 46 69 6e |.t......|...)kFin|
|00003130| 74 72 61 2d 70 72 6f 67 | 72 61 6d 20 69 6e 74 65 |tra-prog|ram inte|
|00003140| 72 72 75 70 74 20 77 68 | 69 63 68 20 63 61 6e 20 |rrupt wh|ich can |
|00003150| 67 72 65 61 74 6c 79 20 | 61 69 64 20 63 6c 65 61 |greatly |aid clea|
|00003160| 6e 2c 20 69 6e 65 78 70 | 65 6e 73 69 76 65 20 65 |n, inexp|ensive e|
|00003170| 72 72 6f 72 00 06 00 01 | 00 00 00 a1 00 64 00 10 |rror....|.....d..|
|00003180| 4f 4e 4c 4e 00 64 00 bb | 00 ec 00 5a 00 f8 00 fb |ONLN.d..|...Z....|
|00003190| 00 28 00 f5 00 5a 22 74 | 72 61 70 70 69 6e 67 20 |.(...Z"t|rapping |
|000031a0| 69 6e 20 73 74 61 63 6b | 20 66 72 61 6d 65 20 69 |in stack| frame i|
|000031b0| 6e 74 65 6e 73 69 76 65 | 20 00 00 06 00 02 00 00 |ntensive| .......|
|000031c0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 dd 00 ec |...d..ON|LN.d....|
|000031d0| 00 fb 00 f8 01 be 00 29 | a1 24 6c 61 6e 67 75 61 |.......)|.$langua|
|000031e0| 67 65 73 2e 20 41 20 70 | 72 6f 67 72 61 6d 20 6d |ges. A p|rogram m|
|000031f0| 61 79 20 69 6e 76 6f 6b | 65 20 74 68 65 20 00 2c |ay invok|e the .,|
|00003200| 00 0a 00 16 07 43 6f 75 | 72 69 65 72 00 03 00 16 |.....Cou|rier....|
|00003210| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 01 00 eb |...d..ON|LN.d....|
|00003220| 01 be 00 f7 01 e8 00 29 | c3 06 53 69 67 6e 61 6c |.......)|..Signal|
|00003230| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003240| 01 07 00 ec 01 e8 00 f8 | 02 1c 00 29 2a 0a 20 70 |........|...)*. p|
|00003250| 72 6f 63 65 64 75 72 65 | 00 06 00 00 00 00 00 a1 |rocedure|........|
|00003260| 00 64 00 10 4f 4e 4c 4e | 00 64 01 12 00 f9 00 5a |.d..ONLN|.d.....Z|
|00003270| 01 05 00 c9 00 28 01 02 | 00 5a 17 61 6e 64 20 69 |.....(..|.Z.and i|
|00003280| 6d 6d 65 64 69 61 74 65 | 6c 79 20 72 65 74 75 72 |mmediate|ly retur|
|00003290| 6e 20 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |n ......|...d..ON|
|000032a0| 4c 4e 00 64 01 29 00 f9 | 00 c9 01 05 01 3f 00 29 |LN.d.)..|.....?.)|
|000032b0| 6f 1a 74 6f 20 74 68 65 | 20 6c 61 73 74 20 69 6e |o.to the| last in|
|000032c0| 76 6f 63 61 74 69 6f 6e | 20 6f 66 20 00 03 00 16 |vocation| of ....|
|000032d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 43 00 f8 |...d..ON|LN.d.C..|
|000032e0| 01 3f 01 04 01 8c 00 29 | 76 0b 43 61 74 63 68 53 |.?.....)|v.CatchS|
|000032f0| 69 67 6e 61 6c 00 00 03 | 00 14 00 a1 00 64 00 10 |ignal...|.....d..|
|00003300| 4f 4e 4c 4e 00 64 01 4e | 00 f9 01 8c 01 05 02 1c |ONLN.d.N|........|
|00003310| 00 29 4d 1e 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |.)M., in|cluding |
|00003320| 74 68 65 20 63 6f 6d 70 | 6c 65 74 65 20 73 74 61 |the comp|lete sta|
|00003330| 63 6b 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |ck......|...d..ON|
|00003340| 4c 4e 00 64 01 6d 01 05 | 00 5a 01 11 00 cb 00 28 |LN.d.m..|.Z.....(|
|00003350| 01 0e 00 5a 1a 66 72 61 | 6d 65 20 73 74 61 74 65 |...Z.fra|me state|
|00003360| 20 61 74 20 74 68 61 74 | 20 70 6f 69 6e 74 2e 00 | at that| point..|
|00003370| 00 07 00 01 00 01 00 20 | 01 1d 00 58 01 1d 02 1d |....... |...X....|
|00003380| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 88 01 2a |...d..ON|LN.d...*|
|00003390| 00 5a 01 36 00 d0 00 2a | 25 18 53 69 67 6e 61 6c |.Z.6...*|%.Signal|
|000033a0| 73 20 61 6c 6c 6f 77 20 | 61 20 70 72 6f 67 72 61 |s allow |a progra|
|000033b0| 6d 20 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |m ......|...d..ON|
|000033c0| 4c 4e 00 64 01 a0 01 2a | 00 d0 01 36 02 1c 00 29 |LN.d...*|...6...)|
|000033d0| 76 46 74 6f 20 6c 65 61 | 76 65 20 6f 66 66 20 65 |vFto lea|ve off e|
|000033e0| 78 65 63 75 74 69 6f 6e | 20 61 74 20 6f 6e 65 20 |xecution| at one |
|000033f0| 70 6f 69 6e 74 20 61 6e | 64 20 72 65 74 75 72 6e |point an|d return|
|00003400| 20 63 6f 6e 74 72 6f 6c | 20 74 6f 20 61 20 63 6f | control| to a co|
|00003410| 6e 76 65 6e 69 65 6e 74 | 00 06 00 00 00 00 00 a1 |nvenient|........|
|00003420| 00 64 00 10 4f 4e 4c 4e | 00 64 01 e7 01 36 00 5a |.d..ONLN|.d...6.Z|
|00003430| 01 42 01 f4 00 28 01 3f | 00 5a 57 65 72 72 6f 72 |.B...(.?|.ZWerror|
|00003440| 20 74 72 61 70 20 6c 6f | 63 61 74 69 6f 6e 2c 20 | trap lo|cation, |
|00003450| 72 65 67 61 72 64 6c 65 | 73 73 20 6f 66 20 68 6f |regardle|ss of ho|
|00003460| 77 20 6d 61 6e 79 20 6c | 65 76 65 6c 73 20 6f 66 |w many l|evels of|
|00003470| 20 70 72 6f 63 65 64 75 | 72 65 20 6e 65 73 74 69 | procedu|re nesti|
|00003480| 6e 67 20 61 72 65 20 69 | 6e 20 62 65 74 77 65 65 |ng are i|n betwee|
|00003490| 6e 2e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 3f |n....d..|ONLN.d.?|
|000034a0| 01 4e 00 5a 01 5a 01 d3 | 00 2a 18 53 54 68 65 20 |.N.Z.Z..|.*.SThe |
|000034b0| 65 78 61 6d 70 6c 65 20 | 69 73 20 70 72 6f 76 69 |example |is provi|
|000034c0| 64 65 64 20 77 69 74 68 | 20 61 20 50 61 73 63 61 |ded with| a Pasca|
|000034d0| 6c 20 69 6e 74 65 72 66 | 61 63 65 2c 20 62 75 74 |l interf|ace, but|
|000034e0| 20 69 74 20 69 73 20 65 | 61 73 69 6c 79 20 61 64 | it is e|asily ad|
|000034f0| 61 70 74 65 64 20 74 6f | 20 6f 74 68 65 72 20 00 |apted to| other .|
|00003500| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003510| 00 64 02 92 01 4e 01 d3 | 01 5a 02 1c 00 28 01 57 |.d...N..|.Z...(.W|
|00003520| 01 d3 0e 6c 61 6e 67 75 | 61 67 65 73 2e 20 54 68 |...langu|ages. Th|
|00003530| 65 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 a1 |e....d..|ONLN.d..|
|00003540| 01 5b 00 5a 01 67 01 12 | 00 28 01 64 00 5a 28 6f |.[.Z.g..|.(.d.Z(o|
|00003550| 6e 6c 79 20 71 75 61 6c | 69 66 69 63 61 74 69 6f |nly qual|ificatio|
|00003560| 6e 20 69 73 20 74 68 61 | 74 20 74 68 65 20 6c 61 |n is tha|t the la|
|00003570| 6e 67 75 61 67 65 20 00 | 00 04 01 00 00 a1 00 64 |nguage .|.......d|
|00003580| 00 10 4f 4e 4c 4e 00 64 | 02 c9 01 5b 01 12 01 67 |..ONLN.d|...[...g|
|00003590| 01 2d 00 29 b8 04 6d 75 | 73 74 00 04 00 00 00 a1 |.-.)..mu|st......|
|000035a0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 cd 01 5b 01 2d |.d..ONLN|.d...[.-|
|000035b0| 01 67 01 9e 00 29 1b 18 | 20 62 72 61 63 6b 65 74 |.g...)..| bracket|
|000035c0| 20 69 74 73 20 70 72 6f | 63 65 64 75 72 65 73 20 | its pro|cedures |
|000035d0| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000035e0| 00 64 02 e5 01 5b 01 9e | 01 67 02 00 00 29 71 14 |.d...[..|.g...)q.|
|000035f0| 28 6f 72 20 66 75 6e 63 | 74 69 6f 6e 73 29 20 77 |(or func|tions) w|
|00003600| 69 74 68 20 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |ith ....|...d..ON|
|00003610| 4c 4e 00 64 02 f9 01 5a | 02 00 01 66 02 1c 00 29 |LN.d...Z|...f...)|
|00003620| 62 04 4c 49 4e 4b 00 03 | 00 14 00 06 00 01 00 00 |b.LINK..|........|
|00003630| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 fe 01 68 |...d..ON|LN.d...h|
|00003640| 00 5a 01 74 00 6f 00 28 | 01 71 00 5a 04 61 6e 64 |.Z.t.o.(|.q.Z.and|
|00003650| 20 00 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e | .......|.d..ONLN|
|00003660| 00 64 03 02 01 67 00 6f | 01 73 00 8b 00 29 15 04 |.d...g.o|.s...)..|
|00003670| 55 4e 4c 4b 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |UNLK....|...d..ON|
|00003680| 4c 4e 00 64 03 06 01 68 | 00 8b 01 74 01 a0 00 29 |LN.d...h|...t...)|
|00003690| 1c 3b 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 2e |.; instr|uctions.|
|000036a0| 20 54 68 69 73 20 77 69 | 6c 6c 20 61 6c 6c 6f 77 | This wi|ll allow|
|000036b0| 20 74 68 65 20 73 69 67 | 6e 61 6c 20 63 6f 64 65 | the sig|nal code|
|000036c0| 20 74 6f 20 63 6c 65 61 | 6e 20 75 70 20 00 00 06 | to clea|n up ...|
|000036d0| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000036e0| 03 41 01 68 01 a0 01 74 | 02 1c 00 28 01 71 01 a0 |.A.h...t|...(.q..|
|000036f0| 19 61 74 20 70 72 6f 63 | 65 64 75 72 65 20 65 78 |.at proc|edure ex|
|00003700| 69 74 20 74 69 6d 65 20 | 62 79 00 06 00 00 00 00 |it time |by......|
|00003710| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 5b 01 75 |...d..ON|LN.d.[.u|
|00003720| 00 5a 01 81 00 8a 00 28 | 01 7e 00 5a 09 72 65 6d |.Z.....(|.~.Z.rem|
|00003730| 6f 76 69 6e 67 20 00 03 | 00 16 00 a1 00 64 00 10 |oving ..|.....d..|
|00003740| 4f 4e 4c 4e 00 64 03 64 | 01 74 00 8a 01 80 00 d7 |ONLN.d.d|.t......|
|00003750| 00 29 30 0b 43 61 74 63 | 68 53 69 67 6e 61 6c 00 |.)0.Catc|hSignal.|
|00003760| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003770| 03 6f 01 75 00 d7 01 81 | 01 6a 00 29 4d 21 20 65 |.o.u....|.j.)M! e|
|00003780| 6e 74 72 69 65 73 20 66 | 72 6f 6d 20 69 74 73 20 |ntries f|rom its |
|00003790| 69 6e 74 65 72 6e 61 6c | 20 71 75 65 75 65 2e 00 |internal| queue..|
|000037a0| 00 04 01 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000037b0| 03 91 01 8e 00 5a 01 9a | 00 7d 00 28 01 97 00 5a |.....Z..|.}.(...Z|
|000037c0| 06 4e 6f 74 65 3a 20 00 | 00 04 00 00 00 a1 00 64 |.Note: .|.......d|
|000037d0| 00 10 4f 4e 4c 4e 00 64 | 03 97 01 8e 00 7d 01 9a |..ONLN.d|.....}..|
|000037e0| 01 30 00 29 23 26 6f 6e | 6c 79 20 70 72 6f 63 65 |.0.)#&on|ly proce|
|000037f0| 64 75 72 65 73 20 61 6e | 64 2f 6f 72 20 66 75 6e |dures an|d/or fun|
|00003800| 63 74 69 6f 6e 73 20 74 | 68 61 74 20 00 06 00 01 |ctions t|hat ....|
|00003810| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 bd |.....d..|ONLN.d..|
|00003820| 01 8e 01 30 01 9a 01 44 | 00 29 b3 05 63 61 6c 6c |...0...D|.)..call|
|00003830| 20 00 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e | .......|.d..ONLN|
|00003840| 00 64 03 c2 01 8d 01 44 | 01 99 01 91 00 29 14 0b |.d.....D|.....)..|
|00003850| 43 61 74 63 68 53 69 67 | 6e 61 6c 00 00 03 00 14 |CatchSig|nal.....|
|00003860| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 cd 01 8e |...d..ON|LN.d....|
|00003870| 01 91 01 9a 01 f8 00 29 | 4d 15 20 6e 65 65 64 20 |.......)|M. need |
|00003880| 74 6f 20 62 65 20 62 72 | 61 63 6b 65 74 65 64 00 |to be br|acketed.|
|00003890| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000038a0| 00 64 03 e3 01 9b 00 7e | 01 a7 00 96 00 28 01 a4 |.d.....~|.....(..|
|000038b0| 00 7e 05 77 69 74 68 20 | 00 03 00 16 00 a1 00 64 |.~.with |.......d|
|000038c0| 00 10 4f 4e 4c 4e 00 64 | 03 e8 01 9a 00 96 01 a6 |..ONLN.d|........|
|000038d0| 00 b2 00 29 18 04 4c 49 | 4e 4b 00 03 00 14 00 a1 |...)..LI|NK......|
|000038e0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 ec 01 9b 00 b2 |.d..ONLN|.d......|
|000038f0| 01 a7 00 c9 00 29 1c 05 | 20 61 6e 64 20 00 00 03 |.....)..| and ...|
|00003900| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 f1 |.....d..|ONLN.d..|
|00003910| 01 9a 00 c9 01 a6 00 e5 | 00 29 17 04 55 4e 4c 4b |........|.)..UNLK|
|00003920| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003930| 03 f5 01 9b 00 e5 01 a7 | 01 23 00 29 1c 0e 20 69 |........|.#.).. i|
|00003940| 6e 73 74 72 75 63 74 69 | 6f 6e 73 2e 00 04 01 00 |nstructi|ons.....|
|00003950| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 04 01 b4 |...d..ON|LN.d....|
|00003960| 00 5a 01 c0 00 95 00 28 | 01 bd 00 5a 0a 49 6d 70 |.Z.....(|...Z.Imp|
|00003970| 6f 72 74 61 6e 74 3a 00 | 00 04 00 00 00 a1 00 64 |ortant:.|.......d|
|00003980| 00 10 4f 4e 4c 4e 00 64 | 04 0e 01 b4 00 95 01 c0 |..ONLN.d|........|
|00003990| 00 98 00 29 3b 01 20 00 | 00 03 00 16 00 06 00 01 |...);. .|........|
|000039a0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 0f |.....d..|ONLN.d..|
|000039b0| 01 b3 00 98 01 bf 00 e5 | 00 29 03 0b 49 6e 69 74 |........|.)..Init|
|000039c0| 53 69 67 6e 61 6c 73 00 | 00 03 00 14 00 a1 00 64 |Signals.|.......d|
|000039d0| 00 10 4f 4e 4c 4e 00 64 | 04 1a 01 b4 00 e5 01 c0 |..ONLN.d|........|
|000039e0| 01 ca 00 29 4d 2e 20 6d | 75 73 74 20 62 65 20 63 |...)M. m|ust be c|
|000039f0| 61 6c 6c 65 64 20 66 72 | 6f 6d 20 74 68 65 20 6d |alled fr|om the m|
|00003a00| 61 69 6e 20 70 72 6f 67 | 72 61 6d 20 73 6f 20 74 |ain prog|ram so t|
|00003a10| 68 61 74 20 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |hat ....|...d..ON|
|00003a20| 4c 4e 00 64 04 48 01 b3 | 01 ca 01 bf 01 d8 00 29 |LN.d.H..|.......)|
|00003a30| e5 02 41 36 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |..A6....|...d..ON|
|00003a40| 4c 4e 00 64 04 4a 01 b4 | 01 d8 01 c0 02 1c 00 29 |LN.d.J..|.......)|
|00003a50| 0e 0e 20 63 61 6e 20 62 | 65 20 73 65 74 20 75 70 |.. can b|e set up|
|00003a60| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003a70| 00 64 04 59 01 c0 00 9d | 01 cc 00 c9 00 28 01 c9 |.d.Y....|.....(..|
|00003a80| 00 9d 09 70 72 6f 70 65 | 72 6c 79 2e 00 a1 00 64 |...prope|rly....d|
|00003a90| 00 10 4f 4e 4c 4e 00 64 | 04 63 01 d9 00 5a 01 e5 |..ONLN.d|.c...Z..|
|00003aa0| 00 a2 00 28 01 e2 00 5a | 10 4e 6f 74 65 20 74 68 |...(...Z|.Note th|
|00003ab0| 61 74 20 74 68 65 72 65 | 20 00 00 06 00 01 00 00 |at there| .......|
|00003ac0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 73 01 d9 |...d..ON|LN.d.s..|
|00003ad0| 00 a2 01 e5 01 46 00 29 | 48 23 69 73 20 6e 6f 20 |.....F.)|H#is no |
|00003ae0| 6c 69 6d 69 74 20 74 6f | 20 74 68 65 20 6e 75 6d |limit to| the num|
|00003af0| 62 65 72 20 6f 66 20 6c | 6f 63 61 6c 20 00 00 03 |ber of l|ocal ...|
|00003b00| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 96 |.....d..|ONLN.d..|
|00003b10| 01 d8 01 46 01 e4 01 9a | 00 29 a4 0c 43 61 74 63 |...F....|.)..Catc|
|00003b20| 68 53 69 67 6e 61 6c 73 | 00 03 00 14 00 a1 00 64 |hSignals|.......d|
|00003b30| 00 10 4f 4e 4c 4e 00 64 | 04 a2 01 d9 01 9a 01 e5 |..ONLN.d|........|
|00003b40| 02 1c 00 29 54 19 20 77 | 68 69 63 68 20 6d 61 79 |...)T. w|hich may|
|00003b50| 20 6f 63 63 75 72 20 77 | 69 74 68 69 6e 20 61 00 | occur w|ithin a.|
|00003b60| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003b70| 00 64 04 bc 01 e6 00 5a | 01 f2 01 be 00 28 01 ef |.d.....Z|.....(..|
|00003b80| 00 5a 4d 73 69 6e 67 6c | 65 20 72 6f 75 74 69 6e |.ZMsingl|e routin|
|00003b90| 65 2e 20 4f 6e 6c 79 20 | 74 68 65 20 6c 61 73 74 |e. Only |the last|
|00003ba0| 20 6f 6e 65 20 65 78 65 | 63 75 74 65 64 20 77 69 | one exe|cuted wi|
|00003bb0| 6c 6c 20 61 70 70 6c 79 | 2c 20 6f 66 20 63 6f 75 |ll apply|, of cou|
|00003bc0| 72 73 65 2c 20 75 6e 6c | 65 73 73 20 79 6f 75 20 |rse, unl|ess you |
|00003bd0| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003be0| 00 64 05 09 01 e6 01 be | 01 f2 01 d2 00 28 01 ef |.d......|.....(..|
|00003bf0| 01 be 05 63 61 6c 6c 20 | 00 03 00 16 00 a1 00 64 |...call |.......d|
|00003c00| 00 10 4f 4e 4c 4e 00 64 | 05 0e 01 e5 01 d2 01 f1 |..ONLN.d|........|
|00003c10| 02 18 00 29 14 0a 46 72 | 65 65 53 69 67 6e 61 6c |...)..Fr|eeSignal|
|00003c20| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003c30| 05 18 01 e6 02 18 01 f2 | 02 1c 00 29 46 01 2e 00 |........|...)F...|
|00003c40| 00 03 00 16 00 06 00 02 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00003c50| 4f 4e 4c 4e 00 64 05 1a | 01 f2 00 5a 01 fe 00 a0 |ONLN.d..|...Z....|
|00003c60| 00 28 01 fc 00 5a 0a 46 | 72 65 65 53 69 67 6e 61 |.(...Z.F|reeSigna|
|00003c70| 6c 00 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |l.......|.d..ONLN|
|00003c80| 00 64 05 24 01 f3 00 a0 | 01 ff 01 18 00 29 46 19 |.d.$....|.....)F.|
|00003c90| 20 77 69 6c 6c 20 d2 70 | 6f 70 d3 20 6f 66 66 20 | will .p|op. off |
|00003ca0| 74 68 65 20 6c 61 73 74 | 20 00 00 03 00 16 00 a1 |the last| .......|
|00003cb0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 3d 01 f2 01 18 |.d..ONLN|.d.=....|
|00003cc0| 01 fe 01 65 00 29 78 0b | 43 61 74 63 68 53 69 67 |...e.)x.|CatchSig|
|00003cd0| 6e 61 6c 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |nal.....|...d..ON|
|00003ce0| 4c 4e 00 64 05 48 01 f3 | 01 65 01 ff 01 c7 00 29 |LN.d.H..|.e.....)|
|00003cf0| 4d 14 2e 20 49 66 20 79 | 6f 75 20 61 74 74 65 6d |M.. If y|ou attem|
|00003d00| 70 74 20 74 6f 20 00 03 | 00 16 00 a1 00 64 00 10 |pt to ..|.....d..|
|00003d10| 4f 4e 4c 4e 00 64 05 5c | 01 f2 01 c7 01 fe 01 f1 |ONLN.d.\|........|
|00003d20| 00 29 62 06 53 69 67 6e | 61 6c 00 03 00 14 00 a1 |.)b.Sign|al......|
|00003d30| 00 64 00 10 4f 4e 4c 4e | 00 64 05 62 01 f3 01 f1 |.d..ONLN|.d.b....|
|00003d40| 01 ff 02 10 00 29 2a 06 | 20 77 69 74 68 20 00 06 |.....)*.| with ..|
|00003d50| 00 03 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003d60| 05 68 01 f3 02 10 01 ff | 02 1c 00 29 1f 02 6e 6f |.h......|...)..no|
|00003d70| 00 03 00 16 00 06 00 00 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00003d80| 4f 4e 4c 4e 00 64 05 6b | 01 ff 00 5a 02 0b 00 ae |ONLN.d.k|...Z....|
|00003d90| 00 28 02 09 00 5a 0c 43 | 61 74 63 68 53 69 67 6e |.(...Z.C|atchSign|
|00003da0| 61 6c 73 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |als.....|...d..ON|
|00003db0| 4c 4e 00 64 05 77 02 00 | 00 ae 02 0c 00 de 00 29 |LN.d.w..|.......)|
|00003dc0| 54 0a 20 70 65 6e 64 69 | 6e 67 2c 20 00 03 00 16 |T. pendi|ng, ....|
|00003dd0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 81 01 ff |...d..ON|LN.d....|
|00003de0| 00 de 02 0b 01 08 00 29 | 30 06 53 69 67 6e 61 6c |.......)|0.Signal|
|00003df0| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003e00| 05 87 02 00 01 08 02 0c | 01 d5 00 29 2a 2c 20 77 |........|...)*, w|
|00003e10| 69 6c 6c 20 68 61 6c 74 | 20 74 68 65 20 70 72 6f |ill halt| the pro|
|00003e20| 67 72 61 6d 20 77 69 74 | 68 20 61 20 64 65 62 75 |gram wit|h a debu|
|00003e30| 67 67 65 72 20 74 72 61 | 70 2e 00 03 00 16 00 06 |gger tra|p.......|
|00003e40| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003e50| 05 b4 02 18 00 5a 02 24 | 00 a7 00 28 02 22 00 5a |.....Z.$|...(.".Z|
|00003e60| 0b 49 6e 69 74 53 69 67 | 6e 61 6c 73 00 03 00 14 |.InitSig|nals....|
|00003e70| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 bf 02 19 |...d..ON|LN.d....|
|00003e80| 00 a7 02 25 01 d1 00 29 | 4d 3e 20 63 72 65 61 74 |...%...)|M> creat|
|00003e90| 65 73 20 61 20 73 6d 61 | 6c 6c 20 72 65 6c 6f 63 |es a sma|ll reloc|
|00003ea0| 61 74 61 62 6c 65 20 62 | 6c 6f 63 6b 20 69 6e 20 |atable b|lock in |
|00003eb0| 74 68 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |the appl|ication |
|00003ec0| 68 65 61 70 20 74 6f 20 | 00 06 00 03 00 00 00 a1 |heap to |........|
|00003ed0| 00 64 00 10 4f 4e 4c 4e | 00 64 05 fd 02 19 01 d1 |.d..ONLN|.d......|
|00003ee0| 02 25 02 1c 00 28 02 22 | 01 d1 0f 68 6f 6c 64 20 |.%...(."|...hold |
|00003ef0| 74 68 65 20 73 69 67 6e | 61 6c 00 06 00 00 00 00 |the sign|al......|
|00003f00| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 0d 02 26 |...d..ON|LN.d...&|
|00003f10| 00 5a 02 32 00 88 00 28 | 02 2f 00 5a 0a 71 75 65 |.Z.2...(|./.Z.que|
|00003f20| 75 65 2e 20 49 66 20 00 | 00 03 00 16 00 a1 00 64 |ue. If .|.......d|
|00003f30| 00 10 4f 4e 4c 4e 00 64 | 06 17 02 25 00 88 02 31 |..ONLN.d|...%...1|
|00003f40| 00 d5 00 29 2e 0b 43 61 | 74 63 68 53 69 67 6e 61 |...)..Ca|tchSigna|
|00003f50| 6c 00 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |l.......|.d..ONLN|
|00003f60| 00 64 06 22 02 26 00 d5 | 02 32 01 05 00 29 4d 0b |.d.".&..|.2...)M.|
|00003f70| 20 69 73 20 75 6e 61 62 | 6c 65 20 00 00 06 00 01 | is unab|le .....|
|00003f80| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 2d |.....d..|ONLN.d.-|
|00003f90| 02 26 01 05 02 32 02 1c | 00 29 30 3a 74 6f 20 65 |.&...2..|.)0:to e|
|00003fa0| 78 70 61 6e 64 20 74 68 | 69 73 20 62 6c 6f 63 6b |xpand th|is block|
|00003fb0| 20 28 77 68 69 63 68 20 | 69 74 20 64 6f 65 73 20 | (which |it does |
|00003fc0| 35 20 65 6c 65 6d 65 6e | 74 73 20 61 74 20 61 20 |5 elemen|ts at a |
|00003fd0| 74 69 6d 65 29 2c 00 06 | 00 04 00 00 00 a1 00 64 |time),..|.......d|
|00003fe0| 00 10 4f 4e 4c 4e 00 64 | 06 68 02 33 00 5a 02 3f |..ONLN.d|.h.3.Z.?|
|00003ff0| 01 00 00 28 02 3c 00 5a | 20 74 68 65 6e 20 69 74 |...(.<.Z| then it|
|00004000| 20 77 69 6c 6c 20 73 69 | 67 6e 61 6c 20 62 61 63 | will si|gnal bac|
|00004010| 6b 20 74 6f 20 74 68 65 | 20 00 00 06 00 05 00 00 |k to the| .......|
|00004020| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 88 02 33 |...d..ON|LN.d...3|
|00004030| 01 00 02 3f 01 51 00 29 | a6 10 6c 61 73 74 20 73 |...?.Q.)|..last s|
|00004040| 75 63 63 65 73 73 66 75 | 6c 20 00 03 00 16 00 a1 |uccessfu|l ......|
|00004050| 00 64 00 10 4f 4e 4c 4e | 00 64 06 98 02 32 01 51 |.d..ONLN|.d...2.Q|
|00004060| 02 3e 01 9e 00 29 51 0b | 43 61 74 63 68 53 69 67 |.>...)Q.|CatchSig|
|00004070| 6e 61 6c 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |nal.....|...d..ON|
|00004080| 4c 4e 00 64 06 a3 02 33 | 01 9e 02 3f 01 c3 00 29 |LN.d...3|...?...)|
|00004090| 4d 06 20 77 69 74 68 20 | 00 03 00 16 00 a1 00 64 |M. with |.......d|
|000040a0| 00 10 4f 4e 4c 4e 00 64 | 06 a9 02 32 01 c3 02 3e |..ONLN.d|...2...>|
|000040b0| 01 df 00 29 25 04 63 6f | 64 65 00 03 00 14 00 a1 |...)%.co|de......|
|000040c0| 00 64 00 10 4f 4e 4c 4e | 00 64 06 ad 02 33 01 df |.d..ONLN|.d...3..|
|000040d0| 02 3f 02 1c 00 29 1c 09 | 20 3d 20 32 30 30 2e 20 |.?...)..| = 200. |
|000040e0| 41 00 00 03 00 16 00 06 | 00 00 00 00 00 a1 00 64 |A.......|.......d|
|000040f0| 00 10 4f 4e 4c 4e 00 64 | 06 b7 02 3f 00 5a 02 4b |..ONLN.d|...?.Z.K|
|00004100| 00 99 00 28 02 49 00 5a | 09 53 69 67 6e 61 6c 28 |...(.I.Z|.Signal(|
|00004110| 30 29 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |0)......|.d..ONLN|
|00004120| 00 64 06 c0 02 40 00 99 | 02 4c 00 c6 00 29 3f 0b |.d...@..|.L...)?.|
|00004130| 20 61 63 74 73 20 61 73 | 20 61 20 00 00 03 00 16 | acts as| a .....|
|00004140| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 cb 02 3f |...d..ON|LN.d...?|
|00004150| 00 c6 02 4b 00 db 00 29 | 2d 03 4e 4f 50 00 00 03 |...K...)|-.NOP...|
|00004160| 00 14 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 ce |.....d..|ONLN.d..|
|00004170| 02 40 00 db 02 4c 01 34 | 00 29 15 12 2c 20 73 6f |.@...L.4|.).., so|
|00004180| 20 79 6f 75 20 6d 61 79 | 20 70 61 73 73 20 00 03 | you may| pass ..|
|00004190| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 e0 |.....d..|ONLN.d..|
|000041a0| 02 3f 01 34 02 4b 01 5e | 00 29 59 06 4f 53 45 72 |.?.4.K.^|.)Y.OSEr|
|000041b0| 72 73 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |rs......|.d..ONLN|
|000041c0| 00 64 06 e6 02 40 01 5e | 02 4c 01 a3 00 29 2a 10 |.d...@.^|.L...)*.|
|000041d0| 2c 20 66 6f 72 20 69 6e | 73 74 61 6e 63 65 2c 20 |, for in|stance, |
|000041e0| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000041f0| 00 64 06 f6 02 40 01 a3 | 02 4c 02 1c 00 29 45 18 |.d...@..|.L...)E.|
|00004200| 61 66 74 65 72 20 6d 61 | 6b 69 6e 67 20 46 69 6c |after ma|king Fil|
|00004210| 65 20 53 79 73 74 65 6d | 00 06 00 00 00 00 00 a1 |e System|........|
|00004220| 00 64 00 10 4f 4e 4c 4e | 00 64 07 0f 02 4d 00 5a |.d..ONLN|.d...M.Z|
|00004230| 02 59 00 c0 00 28 02 56 | 00 5a 18 74 79 70 65 20 |.Y...(.V|.Z.type |
|00004240| 63 61 6c 6c 73 2c 20 61 | 6e 64 2c 20 69 66 20 74 |calls, a|nd, if t|
|00004250| 68 65 20 00 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |he .....|...d..ON|
|00004260| 4c 4e 00 64 07 27 02 4c | 00 c0 02 58 00 e3 00 29 |LN.d.'.L|...X...)|
|00004270| 66 05 4f 53 45 72 72 00 | 00 03 00 14 00 a1 00 64 |f.OSErr.|.......d|
|00004280| 00 10 4f 4e 4c 4e 00 64 | 07 2c 02 4d 00 e3 02 59 |..ONLN.d|.,.M...Y|
|00004290| 01 19 00 29 23 0d 20 69 | 73 20 65 71 75 61 6c 20 |...)#. i|s equal |
|000042a0| 74 6f 20 00 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |to .....|...d..ON|
|000042b0| 4c 4e 00 64 07 39 02 4c | 01 19 02 58 01 3c 00 29 |LN.d.9.L|...X.<.)|
|000042c0| 36 05 4e 6f 45 72 72 00 | 00 03 00 14 00 a1 00 64 |6.NoErr.|.......d|
|000042d0| 00 10 4f 4e 4c 4e 00 64 | 07 3e 02 4d 01 3c 02 59 |..ONLN.d|.>.M.<.Y|
|000042e0| 01 a5 00 29 23 16 2c 20 | 6e 6f 74 68 69 6e 67 20 |...)#., |nothing |
|000042f0| 77 69 6c 6c 20 68 61 70 | 70 65 6e 2e 00 03 00 16 |will hap|pen.....|
|00004300| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004310| 00 64 07 55 02 65 00 5a | 02 71 00 a7 00 28 02 6f |.d.U.e.Z|.q...(.o|
|00004320| 00 5a 0b 43 61 74 63 68 | 53 69 67 6e 61 6c 00 03 |.Z.Catch|Signal..|
|00004330| 00 14 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 60 |.....d..|ONLN.d.`|
|00004340| 02 66 00 a7 02 72 01 83 | 00 29 4d 29 20 6d 61 79 |.f...r..|.)M) may|
|00004350| 20 6e 6f 74 20 62 65 20 | 75 73 65 64 20 69 6e 20 | not be |used in |
|00004360| 61 6e 20 65 78 70 72 65 | 73 73 69 6f 6e 20 69 66 |an expre|ssion if|
|00004370| 20 74 68 65 20 00 00 06 | 00 04 00 00 00 a1 00 64 | the ...|.......d|
|00004380| 00 10 4f 4e 4c 4e 00 64 | 07 89 02 66 01 83 02 72 |..ONLN.d|...f...r|
|00004390| 02 1c 00 29 dc 1e 73 74 | 61 63 6b 20 69 73 20 75 |...)..st|ack is u|
|000043a0| 73 65 64 20 74 6f 20 65 | 76 61 6c 75 61 74 65 20 |sed to e|valuate |
|000043b0| 74 68 61 74 00 06 00 00 | 00 00 00 a1 00 64 00 10 |that....|.....d..|
|000043c0| 4f 4e 4c 4e 00 64 07 a8 | 02 72 00 5a 02 7e 01 20 |ONLN.d..|.r.Z.~. |
|000043d0| 00 28 02 7b 00 5a 29 65 | 78 70 72 65 73 73 69 6f |.(.{.Z)e|xpressio|
|000043e0| 6e 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |n. For e|xample, |
|000043f0| 79 6f 75 20 63 61 6e d5 | 74 20 77 72 69 74 65 3a |you can.|t write:|
|00004400| 00 03 00 16 00 0d 00 09 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004410| 4c 4e 00 64 07 d3 02 8a | 00 7e 02 95 00 d8 00 2b |LN.d....|.~.....+|
|00004420| 24 17 12 63 3a 3d 20 33 | 2a 43 61 74 63 68 53 69 |$..c:= 3|*CatchSi|
|00004430| 67 6e 61 6c 3b 00 00 20 | 02 c0 00 58 02 c0 02 1d |gnal;.. |...X....|
|00004440| 00 03 00 14 00 0d 00 0a | 00 28 02 d5 00 5a 0f 50 |........|.(...Z.P|
|00004450| 54 20 33 34 20 2d 20 53 | 69 67 6e 61 6c 73 00 28 |T 34 - S|ignals.(|
|00004460| 02 d5 02 04 01 31 00 29 | 05 05 20 6f 66 20 36 00 |.....1.)|.. of 6.|
|00004470| 00 28 02 eb 00 5a 11 50 | 6c 61 74 66 6f 72 6d 73 |.(...Z.P|latforms|
|00004480| 20 26 20 54 6f 6f 6c 73 | 00 ff 00 a1 00 c0 01 f4 | & Tools|........|
|00004490| 25 25 44 53 49 44 49 43 | 54 3a 5f 63 76 0d 63 75 |%%DSIDIC|T:_cv.cu|
|000044a0| 72 72 65 6e 74 64 69 63 | 74 20 2f 62 75 20 6b 6e |rrentdic|t /bu kn|
|000044b0| 6f 77 6e 20 7b 62 75 7d | 69 66 0d 75 73 65 72 64 |own {bu}|if.userd|
|000044c0| 69 63 74 20 2f 5f 63 76 | 20 6b 6e 6f 77 6e 20 6e |ict /_cv| known n|
|000044d0| 6f 74 7b 75 73 65 72 64 | 69 63 74 20 2f 5f 63 76 |ot{userd|ict /_cv|
|000044e0| 20 33 30 20 64 69 63 74 | 20 70 75 74 7d 69 66 0d | 30 dict| put}if.|
|000044f0| 5f 63 76 20 62 65 67 69 | 6e 0d 2f 62 64 66 7b 62 |_cv begi|n./bdf{b|
|00004500| 69 6e 64 20 64 65 66 7d | 62 69 6e 64 20 64 65 66 |ind def}|bind def|
|00004510| 0d 63 75 72 72 65 6e 74 | 73 63 72 65 65 6e 2f 63 |.current|screen/c|
|00004520| 73 20 65 78 63 68 20 64 | 65 66 2f 63 61 20 65 78 |s exch d|ef/ca ex|
|00004530| 63 68 20 64 65 66 2f 63 | 66 20 65 78 63 68 20 64 |ch def/c|f exch d|
|00004540| 65 66 0d 2f 73 65 74 63 | 6d 79 6b 63 6f 6c 6f 72 |ef./setc|mykcolor|
|00004550| 20 77 68 65 72 65 7b 2f | 73 65 74 63 6d 79 6b 63 | where{/|setcmykc|
|00004560| 6f 6c 6f 72 20 67 65 74 | 20 2f 63 76 63 6d 79 6b |olor get| /cvcmyk|
|00004570| 20 65 78 63 68 20 64 65 | 66 7d 7b 2f 63 76 63 6d | exch de|f}{/cvcm|
|00004580| 79 6b 7b 31 20 73 75 62 | 20 34 20 31 20 72 6f 6c |yk{1 sub| 4 1 rol|
|00004590| 6c 20 33 7b 33 20 69 6e | 64 65 78 20 61 64 64 20 |l 3{3 in|dex add |
|000045a0| 6e 65 67 20 64 75 70 20 | 30 20 6c 74 7b 70 6f 70 |neg dup |0 lt{pop|
|000045b0| 20 30 7d 69 66 20 33 20 | 31 20 72 6f 6c 6c 7d 72 | 0}if 3 |1 roll}r|
|000045c0| 65 70 65 61 74 20 73 65 | 74 72 67 62 63 6f 6c 6f |epeat se|trgbcolo|
|000045d0| 72 20 70 6f 70 7d 62 64 | 66 20 7d 69 66 65 6c 73 |r pop}bd|f }ifels|
|000045e0| 65 0d 2f 73 73 7b 2f 2f | 63 66 20 2f 2f 63 61 20 |e./ss{//|cf //ca |
|000045f0| 2f 2f 63 73 20 73 65 74 | 73 63 72 65 65 6e 7d 62 |//cs set|screen}b|
|00004600| 64 66 0d 2f 73 74 67 7b | 73 73 20 73 65 74 67 72 |df./stg{|ss setgr|
|00004610| 61 79 7d 62 64 66 0d 2f | 73 74 72 67 62 7b 73 73 |ay}bdf./|strgb{ss|
|00004620| 20 73 65 74 72 67 62 63 | 6f 6c 6f 72 7d 62 64 66 | setrgbc|olor}bdf|
|00004630| 0d 2f 73 74 63 6d 79 6b | 7b 73 73 20 63 76 63 6d |./stcmyk|{ss cvcm|
|00004640| 79 6b 7d 62 64 66 0d 2f | 6d 69 6e 31 7b 64 75 70 |yk}bdf./|min1{dup|
|00004650| 20 30 20 65 71 7b 70 6f | 70 20 31 7d 69 66 7d 62 | 0 eq{po|p 1}if}b|
|00004660| 64 66 0d 65 6e 64 0d 63 | 75 72 72 65 6e 74 64 69 |df.end.c|urrentdi|
|00004670| 63 74 20 2f 62 6e 20 6b | 6e 6f 77 6e 20 7b 62 6e |ct /bn k|nown {bn|
|00004680| 7d 69 66 0d 00 a0 00 bf | 11 b4 00 00 00 00 03 48 |}if.....|.......H|
|00004690| 02 52 00 11 02 ff 0c 00 | ff ff ff ff 00 00 00 00 |.R......|........|
|000046a0| 00 00 00 00 02 52 00 00 | 03 48 00 00 00 00 00 00 |.....R..|.H......|
|000046b0| 00 1e 00 01 00 0a 00 00 | 00 00 03 48 02 52 00 2c |........|...H.R.,|
|000046c0| 00 08 00 14 05 54 69 6d | 65 73 00 03 00 14 00 0d |.....Tim|es......|
|000046d0| 00 0a 00 2e 00 04 00 00 | 00 00 00 2b 36 2d 19 4d |........|...+6-.M|
|000046e0| 61 63 69 6e 74 6f 73 68 | 20 54 65 63 68 6e 69 63 |acintosh| Technic|
|000046f0| 61 6c 20 4e 6f 74 65 73 | 00 20 00 2f 00 34 00 2f |al Notes|. ./.4./|
|00004700| 01 f9 00 04 01 00 00 0d | 00 0e 00 a1 00 64 00 10 |........|.....d..|
|00004710| 4f 4e 4c 4e 00 64 00 00 | 00 3c 00 36 00 4b 00 b3 |ONLN.d..|.<.6.K..|
|00004720| 00 2a 1b 10 d2 47 6f 74 | 63 68 61 d3 20 73 75 6d |.*...Got|cha. sum|
|00004730| 6d 61 72 79 00 04 00 00 | 00 0d 00 0c 00 a1 00 64 |mary....|.......d|
|00004740| 00 10 4f 4e 4c 4e 00 64 | 00 11 00 58 00 36 00 64 |..ONLN.d|...X.6.d|
|00004750| 00 43 00 2a 19 03 31 2e | 20 00 00 a1 00 64 00 10 |.C.*..1.| ....d..|
|00004760| 4f 4e 4c 4e 00 64 00 15 | 00 58 00 5a 00 64 00 ba |ONLN.d..|.X.Z.d..|
|00004770| 00 29 24 14 52 6f 75 74 | 69 6e 65 73 20 77 68 69 |.)$.Rout|ines whi|
|00004780| 63 68 20 63 61 6c 6c 20 | 00 2c 00 0a 00 16 07 43 |ch call |.,.....C|
|00004790| 6f 75 72 69 65 72 00 03 | 00 16 00 a1 00 64 00 10 |ourier..|.....d..|
|000047a0| 4f 4e 4c 4e 00 64 00 29 | 00 57 00 ba 00 63 01 07 |ONLN.d.)|.W...c..|
|000047b0| 00 29 60 0b 43 61 74 63 | 68 53 69 67 6e 61 6c 00 |.)`.Catc|hSignal.|
|000047c0| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000047d0| 00 34 00 58 01 07 00 64 | 01 7c 00 29 4d 18 20 6d |.4.X...d|.|.)M. m|
|000047e0| 75 73 74 20 68 61 76 65 | 20 73 74 61 63 6b 20 66 |ust have| stack f|
|000047f0| 72 61 6d 65 73 2e 00 a1 | 00 64 00 10 4f 4e 4c 4e |rames...|.d..ONLN|
|00004800| 00 64 00 4d 00 65 00 36 | 00 71 00 43 00 28 00 6e |.d.M.e.6|.q.C.(.n|
|00004810| 00 36 03 32 2e 20 00 03 | 00 16 00 a1 00 64 00 10 |.6.2. ..|.....d..|
|00004820| 4f 4e 4c 4e 00 64 00 51 | 00 64 00 5a 00 70 00 a7 |ONLN.d.Q|.d.Z.p..|
|00004830| 00 29 24 0b 49 6e 69 74 | 53 69 67 6e 61 6c 73 00 |.)$.Init|Signals.|
|00004840| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004850| 00 5c 00 65 00 a7 00 71 | 01 89 00 29 4d 30 20 6d |.\.e...q|...)M0 m|
|00004860| 75 73 74 20 62 65 20 63 | 61 6c 6c 65 64 20 66 72 |ust be c|alled fr|
|00004870| 6f 6d 20 74 68 65 20 6f | 75 74 65 72 6d 6f 73 74 |om the o|utermost|
|00004880| 20 28 6d 61 69 6e 29 20 | 6c 65 76 65 6c 2e 00 a1 | (main) |level...|
|00004890| 00 64 00 10 4f 4e 4c 4e | 00 64 00 8d 00 72 00 36 |.d..ONLN|.d...r.6|
|000048a0| 00 7e 00 43 00 28 00 7b | 00 36 03 33 2e 20 00 a1 |.~.C.(.{|.6.3. ..|
|000048b0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 91 00 72 00 5a |.d..ONLN|.d...r.Z|
|000048c0| 00 7e 00 9b 00 29 24 0e | 44 6f 6e d5 74 20 70 75 |.~...)$.|Don.t pu|
|000048d0| 74 20 74 68 65 20 00 03 | 00 16 00 a1 00 64 00 10 |t the ..|.....d..|
|000048e0| 4f 4e 4c 4e 00 64 00 9f | 00 71 00 9b 00 7d 00 e8 |ONLN.d..|.q...}..|
|000048f0| 00 29 41 0b 43 61 74 63 | 68 53 69 67 6e 61 6c 00 |.)A.Catc|hSignal.|
|00004900| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004910| 00 aa 00 72 00 e8 00 7e | 01 d5 00 29 4d 34 20 66 |...r...~|...)M4 f|
|00004920| 75 6e 63 74 69 6f 6e 20 | 69 6e 20 61 6e 20 65 78 |unction |in an ex|
|00004930| 70 72 65 73 73 69 6f 6e | 2e 20 41 73 73 69 67 6e |pression|. Assign|
|00004940| 20 74 68 65 20 72 65 73 | 75 6c 74 20 74 6f 20 61 | the res|ult to a|
|00004950| 6e 20 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e |n ......|.d..ONLN|
|00004960| 00 64 00 df 00 7e 00 5a | 00 8a 01 64 00 28 00 88 |.d...~.Z|...d.(..|
|00004970| 00 5a 26 49 4e 54 45 47 | 45 52 20 76 61 72 69 61 |.Z&INTEG|ER varia|
|00004980| 62 6c 65 3b 20 69 2e 65 | 2e 20 69 3a 3d 43 61 74 |ble; i.e|. i:=Cat|
|00004990| 63 68 53 69 67 6e 61 6c | 2e 00 00 03 00 14 00 a1 |chSignal|........|
|000049a0| 00 64 00 10 4f 4e 4c 4e | 00 64 01 06 00 8b 00 36 |.d..ONLN|.d.....6|
|000049b0| 00 97 00 43 00 28 00 94 | 00 36 03 34 2e 20 00 a1 |...C.(..|.6.4. ..|
|000049c0| 00 64 00 10 4f 4e 4c 4e | 00 64 01 0a 00 8b 00 5a |.d..ONLN|.d.....Z|
|000049d0| 00 97 01 5e 00 29 24 3b | 49 74 d5 73 20 73 61 66 |...^.)$;|It.s saf|
|000049e0| 65 73 74 20 74 6f 20 63 | 61 6c 6c 20 61 20 70 72 |est to c|all a pr|
|000049f0| 6f 63 65 64 75 72 65 20 | 74 6f 20 64 6f 20 74 68 |ocedure |to do th|
|00004a00| 65 20 70 72 6f 63 65 73 | 73 69 6e 67 20 61 66 74 |e proces|sing aft|
|00004a10| 65 72 20 00 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |er .....|...d..ON|
|00004a20| 4c 4e 00 64 01 45 00 8a | 01 5e 00 96 01 ab 00 28 |LN.d.E..|.^.....(|
|00004a30| 00 94 01 5e 0b 43 61 74 | 63 68 53 69 67 6e 61 6c |...^.Cat|chSignal|
|00004a40| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004a50| 01 50 00 8b 01 ab 00 97 | 01 ea 00 29 4d 0e 20 72 |.P......|...)M. r|
|00004a60| 65 74 75 72 6e 73 2e 20 | 53 65 65 20 00 a1 00 64 |eturns. |See ...d|
|00004a70| 00 10 4f 4e 4c 4e 00 64 | 01 5f 00 98 00 5a 00 a4 |..ONLN.d|._...Z..|
|00004a80| 00 b6 00 28 00 a1 00 5a | 13 74 68 65 20 50 61 73 |...(...Z|.the Pas|
|00004a90| 63 61 6c 20 65 78 61 6d | 70 6c 65 20 00 03 00 16 |cal exam|ple ....|
|00004aa0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 72 00 97 |...d..ON|LN.d.r..|
|00004ab0| 00 b6 00 a3 01 03 00 29 | 5c 0b 54 65 73 74 53 69 |.......)|\.TestSi|
|00004ac0| 67 6e 61 6c 73 00 00 03 | 00 14 00 a1 00 64 00 10 |gnals...|.....d..|
|00004ad0| 4f 4e 4c 4e 00 64 01 7d | 00 98 01 03 00 a4 01 de |ONLN.d.}|........|
|00004ae0| 00 29 4d 30 20 62 65 6c | 6f 77 2e 20 54 68 69 73 |.)M0 bel|ow. This|
|00004af0| 20 77 69 6c 6c 20 70 72 | 65 76 65 6e 74 20 74 68 | will pr|event th|
|00004b00| 65 20 75 73 65 20 6f 66 | 20 61 20 76 61 72 69 61 |e use of| a varia|
|00004b10| 62 6c 65 20 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ble ...d|..ONLN.d|
|00004b20| 01 ae 00 a4 00 5a 00 b0 | 00 f1 00 28 00 ad 00 5a |.....Z..|...(...Z|
|00004b30| 20 77 68 69 63 68 20 6d | 61 79 20 62 65 20 68 65 | which m|ay be he|
|00004b40| 6c 64 20 69 6e 20 61 20 | 72 65 67 69 73 74 65 72 |ld in a |register|
|00004b50| 2e 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 cf |.....d..|ONLN.d..|
|00004b60| 00 bc 00 36 00 c8 01 6a | 00 28 00 c5 00 36 45 42 |...6...j|.(...6EB|
|00004b70| 65 6c 6f 77 20 61 72 65 | 20 74 68 72 65 65 20 73 |elow are| three s|
|00004b80| 65 70 61 72 61 74 65 20 | 73 6f 75 72 63 65 20 66 |eparate |source f|
|00004b90| 69 6c 65 73 2e 20 46 69 | 72 73 74 20 69 73 20 74 |iles. Fi|rst is t|
|00004ba0| 68 65 20 50 61 73 63 61 | 6c 20 69 6e 74 65 72 66 |he Pasca|l interf|
|00004bb0| 61 63 65 20 00 06 00 01 | 00 00 00 a1 00 64 00 10 |ace ....|.....d..|
|00004bc0| 4f 4e 4c 4e 00 64 02 14 | 00 bc 01 6a 00 c8 01 f8 |ONLN.d..|...j....|
|00004bd0| 00 28 00 c5 01 6a 1f 74 | 6f 20 74 68 65 20 73 69 |.(...j.t|o the si|
|00004be0| 67 6e 61 6c 69 6e 67 20 | 75 6e 69 74 2c 20 74 68 |gnaling |unit, th|
|00004bf0| 65 6e 20 74 68 65 00 06 | 00 03 00 00 00 a1 00 64 |en the..|.......d|
|00004c00| 00 10 4f 4e 4c 4e 00 64 | 02 34 00 c8 00 36 00 d4 |..ONLN.d|.4...6..|
|00004c10| 01 c0 00 28 00 d1 00 36 | 48 61 73 73 65 6d 62 6c |...(...6|Hassembl|
|00004c20| 79 20 6c 61 6e 67 75 61 | 67 65 20 77 68 69 63 68 |y langua|ge which|
|00004c30| 20 69 6d 70 6c 65 6d 65 | 6e 74 73 20 69 74 20 69 | impleme|nts it i|
|00004c40| 6e 20 4d 50 57 20 41 73 | 73 65 6d 62 6c 65 72 20 |n MPW As|sembler |
|00004c50| 66 6f 72 6d 61 74 2e 20 | 46 69 6e 61 6c 6c 79 2c |format. |Finally,|
|00004c60| 20 00 00 06 00 04 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00004c70| 4c 4e 00 64 02 7c 00 c8 | 01 c0 00 d4 01 f8 00 28 |LN.d.|..|.......(|
|00004c80| 00 d1 01 c0 0b 74 68 65 | 72 65 20 69 73 20 61 6e |.....the|re is an|
|00004c90| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004ca0| 00 64 02 88 00 d4 00 36 | 00 e0 01 8a 00 28 00 dd |.d.....6|.....(..|
|00004cb0| 00 36 47 65 78 61 6d 70 | 6c 65 20 70 72 6f 67 72 |.6Gexamp|le progr|
|00004cc0| 61 6d 20 77 68 69 63 68 | 20 64 65 6d 6f 6e 73 74 |am which| demonst|
|00004cd0| 72 61 74 65 73 20 74 68 | 65 20 75 73 65 20 6f 66 |rates th|e use of|
|00004ce0| 20 74 68 65 20 72 6f 75 | 74 69 6e 65 73 20 69 6e | the rou|tines in|
|00004cf0| 20 74 68 65 20 75 6e 69 | 74 2e 00 03 00 16 00 0d | the uni|t.......|
|00004d00| 00 09 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 d0 |.....d..|ONLN.d..|
|00004d10| 00 ec 00 36 00 f7 00 90 | 00 2a 17 12 7b 46 69 6c |...6....|.*..{Fil|
|00004d20| 65 20 45 72 72 53 69 67 | 6e 61 6c 2e 70 7d 00 a1 |e ErrSig|nal.p}..|
|00004d30| 00 64 00 10 4f 4e 4c 4e | 00 64 02 e3 00 f6 00 36 |.d..ONLN|.d.....6|
|00004d40| 01 01 00 81 00 2a 0a 0f | 55 4e 49 54 20 45 72 72 |.....*..|UNIT Err|
|00004d50| 53 69 67 6e 61 6c 3b 00 | 00 a1 00 64 00 10 4f 4e |Signal;.|...d..ON|
|00004d60| 4c 4e 00 64 02 f3 01 0a | 00 36 01 15 00 63 00 2a |LN.d....|.6...c.*|
|00004d70| 14 09 49 4e 54 45 52 46 | 41 43 45 00 00 a1 00 64 |..INTERF|ACE....d|
|00004d80| 00 10 4f 4e 4c 4e 00 64 | 02 fd 01 1e 00 36 01 29 |..ONLN.d|.....6.)|
|00004d90| 01 d0 00 2a 14 52 7b 43 | 61 6c 6c 20 74 68 69 73 |...*.R{C|all this|
|00004da0| 20 72 69 67 68 74 20 61 | 66 74 65 72 20 79 6f 75 | right a|fter you|
|00004db0| 72 20 6f 74 68 65 72 20 | 69 6e 69 74 69 61 6c 69 |r other |initiali|
|00004dc0| 7a 61 74 69 6f 6e 73 20 | 28 49 6e 69 74 47 72 61 |zations |(InitGra|
|00004dd0| 66 2c 20 65 74 63 2e 29 | 2d 2d 69 6e 20 6f 74 68 |f, etc.)|--in oth|
|00004de0| 65 72 20 77 6f 72 64 73 | 00 a1 00 64 00 10 4f 4e |er words|...d..ON|
|00004df0| 4c 4e 00 64 03 50 01 28 | 00 36 01 33 00 f9 00 2a |LN.d.P.(|.6.3...*|
|00004e00| 0a 27 61 73 20 65 61 72 | 6c 79 20 61 73 20 79 6f |.'as ear|ly as yo|
|00004e10| 75 20 63 61 6e 20 69 6e | 20 74 68 65 20 61 70 70 |u can in| the app|
|00004e20| 6c 69 63 61 74 69 6f 6e | 7d 00 00 a1 00 64 00 10 |lication|}....d..|
|00004e30| 4f 4e 4c 4e 00 64 03 78 | 01 32 00 36 01 3d 00 a4 |ONLN.d.x|.2.6.=..|
|00004e40| 00 2a 0a 16 50 52 4f 43 | 45 44 55 52 45 20 49 6e |.*..PROC|EDURE In|
|00004e50| 69 74 53 69 67 6e 61 6c | 73 3b 00 a1 00 64 00 10 |itSignal|s;...d..|
|00004e60| 4f 4e 4c 4e 00 64 03 8f | 01 46 00 36 01 51 01 c1 |ONLN.d..|.F.6.Q..|
|00004e70| 00 2a 14 4f 7b 55 6e 74 | 69 6c 20 74 68 65 20 70 |.*.O{Unt|il the p|
|00004e80| 72 6f 63 65 64 75 72 65 | 20 77 68 69 63 68 20 65 |rocedure| which e|
|00004e90| 6e 63 6c 6f 73 65 73 20 | 74 68 69 73 20 63 61 6c |ncloses |this cal|
|00004ea0| 6c 20 72 65 74 75 72 6e | 73 2c 20 69 74 20 77 69 |l return|s, it wi|
|00004eb0| 6c 6c 20 63 61 74 63 68 | 20 73 75 62 73 65 71 75 |ll catch| subsequ|
|00004ec0| 65 6e 74 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ent....d|..ONLN.d|
|00004ed0| 03 df 01 50 00 36 01 5b | 01 d0 00 2a 0a 52 53 69 |...P.6.[|...*.RSi|
|00004ee0| 67 6e 61 6c 20 63 61 6c | 6c 73 2c 20 72 65 74 75 |gnal cal|ls, retu|
|00004ef0| 72 6e 69 6e 67 20 74 68 | 65 20 63 6f 64 65 20 70 |rning th|e code p|
|00004f00| 61 73 73 65 64 20 74 6f | 20 53 69 67 6e 61 6c 2e |assed to| Signal.|
|00004f10| 20 57 68 65 6e 20 43 61 | 74 63 68 53 69 67 6e 61 | When Ca|tchSigna|
|00004f20| 6c 20 69 73 20 65 6e 63 | 6f 75 6e 74 65 72 65 64 |l is enc|ountered|
|00004f30| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 32 01 5a |...d..ON|LN.d.2.Z|
|00004f40| 00 36 01 65 01 c1 00 2a | 0a 4f 69 6e 69 74 69 61 |.6.e...*|.Oinitia|
|00004f50| 6c 6c 79 2c 20 69 74 20 | 72 65 74 75 72 6e 73 20 |lly, it |returns |
|00004f60| 61 20 63 6f 64 65 20 6f | 66 20 7a 65 72 6f 2e 20 |a code o|f zero. |
|00004f70| 54 68 65 73 65 20 63 61 | 6c 6c 73 20 6d 61 79 20 |These ca|lls may |
|00004f80| 22 6e 65 73 74 22 3b 20 | 69 2e 65 2e 20 79 6f 75 |"nest"; |i.e. you|
|00004f90| 20 6d 61 79 20 68 61 76 | 65 00 00 a1 00 64 00 10 | may hav|e....d..|
|00004fa0| 4f 4e 4c 4e 00 64 04 82 | 01 64 00 36 01 6f 00 f9 |ONLN.d..|.d.6.o..|
|00004fb0| 00 2a 0a 27 6d 75 6c 74 | 69 70 6c 65 20 43 61 74 |.*.'mult|iple Cat|
|00004fc0| 63 68 53 69 67 6e 61 6c | 73 20 69 6e 20 6f 6e 65 |chSignal|s in one|
|00004fd0| 20 70 72 6f 63 65 64 75 | 72 65 2e 00 00 a1 00 64 | procedu|re.....d|
|00004fe0| 00 10 4f 4e 4c 4e 00 64 | 04 aa 01 6e 00 36 01 79 |..ONLN.d|...n.6.y|
|00004ff0| 01 58 00 2a 0a 3a 45 61 | 63 68 20 6e 65 73 74 65 |.X.*.:Ea|ch neste|
|00005000| 64 20 43 61 74 63 68 53 | 69 67 6e 61 6c 20 63 61 |d CatchS|ignal ca|
|00005010| 6c 6c 20 75 73 65 73 20 | 31 32 20 62 79 74 65 73 |ll uses |12 bytes|
|00005020| 20 6f 66 20 68 65 61 70 | 20 73 70 61 63 65 20 7d | of heap| space }|
|00005030| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 e5 01 78 |...d..ON|LN.d...x|
|00005040| 00 36 01 83 00 c7 00 2a | 0a 1d 46 55 4e 43 54 49 |.6.....*|..FUNCTI|
|00005050| 4f 4e 20 43 61 74 63 68 | 53 69 67 6e 61 6c 3a 49 |ON Catch|Signal:I|
|00005060| 4e 54 45 47 45 52 3b 00 | 00 a1 00 64 00 10 4f 4e |NTEGER;.|...d..ON|
|00005070| 4c 4e 00 64 05 03 01 8c | 00 36 01 97 01 bc 00 2a |LN.d....|.6.....*|
|00005080| 14 4e 7b 54 68 69 73 20 | 75 6e 64 6f 65 73 20 74 |.N{This |undoes t|
|00005090| 68 65 20 65 66 66 65 63 | 74 20 6f 66 20 74 68 65 |he effec|t of the|
|000050a0| 20 6c 61 73 74 20 43 61 | 74 63 68 53 69 67 6e 61 | last Ca|tchSigna|
|000050b0| 6c 2e 20 41 20 53 69 67 | 6e 61 6c 20 77 69 6c 6c |l. A Sig|nal will|
|000050c0| 20 74 68 65 6e 20 69 6e | 76 6f 6b 65 20 74 68 65 | then in|voke the|
|000050d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 52 01 96 |...d..ON|LN.d.R..|
|000050e0| 00 36 01 a1 00 e5 00 2a | 0a 23 43 61 74 63 68 53 |.6.....*|.#CatchS|
|000050f0| 69 67 6e 61 6c 20 70 72 | 69 6f 72 20 74 6f 20 74 |ignal pr|ior to t|
|00005100| 68 65 20 6c 61 73 74 20 | 6f 6e 65 2e 7d 00 00 a1 |he last |one.}...|
|00005110| 00 64 00 10 4f 4e 4c 4e | 00 64 05 76 01 a0 00 36 |.d..ONLN|.d.v...6|
|00005120| 01 ab 00 9f 00 2a 0a 15 | 50 52 4f 43 45 44 55 52 |.....*..|PROCEDUR|
|00005130| 45 20 46 72 65 65 53 69 | 67 6e 61 6c 3b 00 00 a1 |E FreeSi|gnal;...|
|00005140| 00 64 00 10 4f 4e 4c 4e | 00 64 05 8c 01 b4 00 36 |.d..ONLN|.d.....6|
|00005150| 01 bf 01 d5 00 2a 14 53 | 7b 52 65 74 75 72 6e 73 |.....*.S|{Returns|
|00005160| 20 63 6f 6e 74 72 6f 6c | 20 74 6f 20 74 68 65 20 | control| to the |
|00005170| 70 6f 69 6e 74 20 6f 66 | 20 74 68 65 20 6c 61 73 |point of| the las|
|00005180| 74 20 43 61 74 63 68 53 | 69 67 6e 61 6c 2e 20 54 |t CatchS|ignal. T|
|00005190| 68 65 20 70 72 6f 67 72 | 61 6d 20 77 69 6c 6c 20 |he progr|am will |
|000051a0| 74 68 65 6e 20 62 65 68 | 61 76 65 00 00 a1 00 64 |then beh|ave....d|
|000051b0| 00 10 4f 4e 4c 4e 00 64 | 05 e0 01 be 00 36 01 c9 |..ONLN.d|.....6..|
|000051c0| 01 da 00 2a 0a 54 61 73 | 20 74 68 6f 75 67 68 20 |...*.Tas| though |
|000051d0| 74 68 61 74 20 43 61 74 | 63 68 53 69 67 6e 61 6c |that Cat|chSignal|
|000051e0| 20 68 61 64 20 72 65 74 | 75 72 6e 65 64 20 77 69 | had ret|urned wi|
|000051f0| 74 68 20 74 68 65 20 63 | 6f 64 65 20 70 61 72 61 |th the c|ode para|
|00005200| 6d 65 74 65 72 20 73 75 | 70 70 6c 69 65 64 20 74 |meter su|pplied t|
|00005210| 6f 20 53 69 67 6e 61 6c | 2e 7d 00 a1 00 64 00 10 |o Signal|.}...d..|
|00005220| 4f 4e 4c 4e 00 64 06 35 | 01 c8 00 36 01 d3 00 d1 |ONLN.d.5|...6....|
|00005230| 00 2a 0a 1f 50 52 4f 43 | 45 44 55 52 45 20 53 69 |.*..PROC|EDURE Si|
|00005240| 67 6e 61 6c 28 63 6f 64 | 65 3a 49 4e 54 45 47 45 |gnal(cod|e:INTEGE|
|00005250| 52 29 3b 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |R);....d|..ONLN.d|
|00005260| 06 55 01 dc 00 36 01 e7 | 00 4a 00 2a 14 04 45 4e |.U...6..|.J.*..EN|
|00005270| 44 2e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 5a |D....d..|ONLN.d.Z|
|00005280| 01 e6 00 36 01 f1 00 9a | 00 2a 0a 14 7b 45 6e 64 |...6....|.*..{End|
|00005290| 20 6f 66 20 45 72 72 53 | 69 67 6e 61 6c 2e 70 7d | of ErrS|ignal.p}|
|000052a0| 00 03 00 14 00 0d 00 0c | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|000052b0| 4c 4e 00 64 06 6f 01 fc | 00 36 02 08 01 3d 00 2a |LN.d.o..|.6...=.*|
|000052c0| 17 37 48 65 72 65 d5 73 | 20 74 68 65 20 61 73 73 |.7Here.s| the ass|
|000052d0| 65 6d 62 6c 79 20 73 6f | 75 72 63 65 20 66 6f 72 |embly so|urce for|
|000052e0| 20 74 68 65 20 72 6f 75 | 74 69 6e 65 73 20 74 68 | the rou|tines th|
|000052f0| 65 6d 73 65 6c 76 65 73 | 3a 00 00 03 00 16 00 0d |emselves|:.......|
|00005300| 00 09 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 a7 |.....d..|ONLN.d..|
|00005310| 02 14 00 36 02 1f 01 6c | 00 2a 17 3e 3b 20 45 72 |...6...l|.*.>; Er|
|00005320| 72 53 69 67 6e 61 6c 20 | 63 6f 64 65 20 77 2e 20 |rSignal |code w. |
|00005330| 49 6e 69 74 53 69 67 6e | 61 6c 2c 20 43 61 74 63 |InitSign|al, Catc|
|00005340| 68 53 69 67 6e 61 6c 2c | 46 72 65 65 53 69 67 6e |hSignal,|FreeSign|
|00005350| 61 6c 2c 20 53 69 67 6e | 61 6c 00 a1 00 64 00 10 |al, Sign|al...d..|
|00005360| 4f 4e 4c 4e 00 64 06 e6 | 02 1e 00 36 02 29 00 63 |ONLN.d..|...6.).c|
|00005370| 00 2a 0a 09 3b 20 64 65 | 66 69 6e 65 64 00 00 a1 |.*..; de|fined...|
|00005380| 00 64 00 10 4f 4e 4c 4e | 00 64 06 f0 02 28 00 36 |.d..ONLN|.d...(.6|
|00005390| 02 33 00 3b 00 2a 0a 01 | 3b 00 00 a1 00 64 00 10 |.3.;.*..|;....d..|
|000053a0| 4f 4e 4c 4e 00 64 06 f2 | 02 32 00 36 02 3d 01 03 |ONLN.d..|.2.6.=..|
|000053b0| 00 2a 0a 29 3b 20 20 20 | 20 20 20 20 20 20 20 20 |.*.); | |
|000053c0| 20 20 20 20 56 65 72 73 | 69 6f 6e 20 31 2e 30 20 | Vers|ion 1.0 |
|000053d0| 62 79 20 52 69 63 6b 20 | 42 6c 61 69 72 00 00 a1 |by Rick |Blair...|
|000053e0| 00 64 00 10 4f 4e 4c 4e | 00 64 07 1d 02 46 00 5a |.d..ONLN|.d...F.Z|
|000053f0| 02 51 00 73 00 2b 24 14 | 05 50 52 49 4e 54 00 a1 |.Q.s.+$.|.PRINT..|
|00005400| 00 64 00 10 4f 4e 4c 4e | 00 64 07 23 02 46 00 7e |.d..ONLN|.d.#.F.~|
|00005410| 02 51 00 8d 00 29 24 03 | 4f 46 46 00 00 a1 00 64 |.Q...)$.|OFF....d|
|00005420| 00 10 4f 4e 4c 4e 00 64 | 07 28 02 50 00 5a 02 5b |..ONLN.d|.(.P.Z.[|
|00005430| 00 7d 00 28 02 58 00 5a | 07 49 4e 43 4c 55 44 45 |.}.(.X.Z|.INCLUDE|
|00005440| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 30 02 50 |...d..ON|LN.d.0.P|
|00005450| 00 a2 02 5b 00 cf 00 29 | 48 09 27 54 72 61 70 73 |...[...)|H.'Traps|
|00005460| 2e 61 27 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.a'....d|..ONLN.d|
|00005470| 07 3b 02 5a 00 5a 02 65 | 00 7d 00 28 02 62 00 5a |.;.Z.Z.e|.}.(.b.Z|
|00005480| 07 49 4e 43 4c 55 44 45 | 00 a1 00 64 00 10 4f 4e |.INCLUDE|...d..ON|
|00005490| 4c 4e 00 64 07 43 02 5a | 00 a2 02 65 00 d9 00 29 |LN.d.C.Z|...e...)|
|000054a0| 48 0b 27 54 6f 6f 6c 45 | 71 75 2e 61 27 00 00 a1 |H.'ToolE|qu.a'...|
|000054b0| 00 64 00 10 4f 4e 4c 4e | 00 64 07 50 02 64 00 5a |.d..ONLN|.d.P.d.Z|
|000054c0| 02 6f 00 7d 00 28 02 6c | 00 5a 07 49 4e 43 4c 55 |.o.}.(.l|.Z.INCLU|
|000054d0| 44 45 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 58 |DE...d..|ONLN.d.X|
|000054e0| 02 64 00 a2 02 6f 00 de | 00 29 48 0c 27 51 75 69 |.d...o..|.)H.'Qui|
|000054f0| 63 6b 45 71 75 2e 61 27 | 00 a1 00 64 00 10 4f 4e |ckEqu.a'|...d..ON|
|00005500| 4c 4e 00 64 07 66 02 6e | 00 5a 02 79 00 7d 00 28 |LN.d.f.n|.Z.y.}.(|
|00005510| 02 76 00 5a 07 49 4e 43 | 4c 55 44 45 00 a1 00 64 |.v.Z.INC|LUDE...d|
|00005520| 00 10 4f 4e 4c 4e 00 64 | 07 6e 02 6e 00 a2 02 79 |..ONLN.d|.n.n...y|
|00005530| 00 d4 00 29 48 0a 27 53 | 79 73 45 71 75 2e 61 27 |...)H.'S|ysEqu.a'|
|00005540| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 7a 02 78 |...d..ON|LN.d.z.x|
|00005550| 00 5a 02 83 00 73 00 28 | 02 80 00 5a 05 50 52 49 |.Z...s.(|...Z.PRI|
|00005560| 4e 54 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 80 |NT...d..|ONLN.d..|
|00005570| 02 78 00 7e 02 83 00 88 | 00 29 24 02 4f 4e 00 a1 |.x.~....|.)$.ON..|
|00005580| 00 64 00 10 4f 4e 4c 4e | 00 64 07 8a 02 8c 00 36 |.d..ONLN|.d.....6|
|00005590| 02 97 00 6d 00 28 02 94 | 00 36 0b 43 61 74 63 68 |...m.(..|.6.Catch|
|000055a0| 53 69 67 45 72 72 00 a1 | 00 64 00 10 4f 4e 4c 4e |SigErr..|.d..ONLN|
|000055b0| 00 64 07 96 02 8c 00 7e | 02 97 00 8d 00 29 48 03 |.d.....~|.....)H.|
|000055c0| 45 51 55 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |EQU....d|..ONLN.d|
|000055d0| 07 9a 02 8c 00 a2 02 97 | 00 b1 00 29 24 03 32 30 |........|...)$.20|
|000055e0| 30 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 9f |0....d..|ONLN.d..|
|000055f0| 02 8c 00 ea 02 97 01 76 | 00 29 48 1c 3b 22 69 6e |.......v|.)H.;"in|
|00005600| 73 75 66 66 69 63 69 65 | 6e 74 20 68 65 61 70 22 |sufficie|nt heap"|
|00005610| 20 6d 65 73 73 61 67 65 | 00 a1 00 64 00 10 4f 4e | message|...d..ON|
|00005620| 4c 4e 00 64 07 bc 02 96 | 00 36 02 a1 00 63 00 28 |LN.d....|.6...c.(|
|00005630| 02 9e 00 36 09 53 69 67 | 43 68 75 6e 6b 73 00 a1 |...6.Sig|Chunks..|
|00005640| 00 64 00 10 4f 4e 4c 4e | 00 64 07 c6 02 96 00 7e |.d..ONLN|.d.....~|
|00005650| 02 a1 00 8d 00 29 48 03 | 45 51 55 00 00 a1 00 64 |.....)H.|EQU....d|
|00005660| 00 10 4f 4e 4c 4e 00 64 | 07 ca 02 96 00 a2 02 a1 |..ONLN.d|........|
|00005670| 00 ac 00 29 24 02 35 20 | 00 a1 00 64 00 10 4f 4e |...)$.5 |...d..ON|
|00005680| 4c 4e 00 64 07 ce 02 96 | 00 ea 02 a1 01 8a 00 29 |LN.d....|.......)|
|00005690| 48 20 3b 6e 75 6d 62 65 | 72 20 6f 66 20 65 6c 65 |H ;numbe|r of ele|
|000056a0| 6d 65 6e 74 73 20 74 6f | 20 65 78 70 61 6e 64 20 |ments to| expand |
|000056b0| 62 79 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 ef |by...d..|ONLN.d..|
|000056c0| 02 a0 00 36 02 ab 00 5e | 00 28 02 a8 00 36 08 46 |...6...^|.(...6.F|
|000056d0| 72 61 6d 65 52 65 74 00 | 00 a1 00 64 00 10 4f 4e |rameRet.|...d..ON|
|000056e0| 4c 4e 00 64 07 f8 02 a0 | 00 7e 02 ab 00 8d 00 29 |LN.d....|.~.....)|
|000056f0| 48 03 45 51 55 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |H.EQU...|.d..ONLN|
|00005700| 00 64 07 fc 02 a0 00 a2 | 02 ab 00 ac 00 29 24 02 |.d......|.....)$.|
|00005710| 34 20 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 08 00 |4 ...d..|ONLN.d..|
|00005720| 02 a0 00 ea 02 ab 01 8a | 00 29 48 20 3b 72 65 74 |........|.)H ;ret|
|00005730| 75 72 6e 20 61 64 64 72 | 2e 20 66 6f 72 20 66 72 |urn addr|. for fr|
|00005740| 61 6d 65 20 28 6f 66 66 | 20 41 36 29 00 a1 00 64 |ame (off| A6)...d|
|00005750| 00 10 4f 4e 4c 4e 00 64 | 08 21 02 aa 00 36 02 b5 |..ONLN.d|.!...6..|
|00005760| 00 5e 00 28 02 b2 00 36 | 08 53 69 67 42 69 67 41 |.^.(...6|.SigBigA|
|00005770| 36 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 08 2a |6....d..|ONLN.d.*|
|00005780| 02 aa 00 7e 02 b5 00 8d | 00 29 48 03 45 51 55 00 |...~....|.)H.EQU.|
|00005790| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 08 2e 02 aa |...d..ON|LN.d....|
|000057a0| 00 a2 02 b5 00 cf 00 29 | 24 09 24 46 46 46 46 46 |.......)|$.$FFFFF|
|000057b0| 46 46 46 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |FFF....d|..ONLN.d|
|000057c0| 08 38 02 aa 00 ea 02 b5 | 01 6c 00 29 48 1a 3b 6d |.8......|.l.)H.;m|
|000057d0| 61 78 69 6d 75 6d 20 70 | 6f 73 69 74 69 76 65 20 |aximum p|ositive |
|000057e0| 41 36 20 76 61 6c 75 65 | 00 20 02 c0 00 34 02 c0 |A6 value|. ...4..|
|000057f0| 01 f9 00 03 00 14 00 0d | 00 0a 00 28 02 d5 00 36 |........|...(...6|
|00005800| 01 32 00 29 05 05 20 6f | 66 20 36 00 00 28 02 d5 |.2.).. o|f 6..(..|
|00005810| 01 b8 0f 50 54 20 33 34 | 20 2d 20 53 69 67 6e 61 |...PT 34| - Signa|
|00005820| 6c 73 00 28 02 eb 01 ac | 11 50 6c 61 74 66 6f 72 |ls.(....|.Platfor|
|00005830| 6d 73 20 26 20 54 6f 6f | 6c 73 00 ff 15 f6 00 00 |ms & Too|ls......|
|00005840| 00 00 03 48 02 52 00 11 | 02 ff 0c 00 ff ff ff ff |...H.R..|........|
|00005850| 00 00 00 00 00 00 00 00 | 02 52 00 00 03 48 00 00 |........|.R...H..|
|00005860| 00 00 00 00 00 1e 00 01 | 00 0a 00 00 00 00 03 48 |........|.......H|
|00005870| 02 52 00 2c 00 08 00 14 | 05 54 69 6d 65 73 00 03 |.R.,....|.Times..|
|00005880| 00 14 00 0d 00 0a 00 2e | 00 04 00 00 00 00 00 2b |........|.......+|
|00005890| 5a 2d 18 44 65 76 65 6c | 6f 70 65 72 20 53 75 70 |Z-.Devel|oper Sup|
|000058a0| 70 6f 72 74 20 43 65 6e | 74 65 72 00 00 28 00 2d |port Cen|ter..(.-|
|000058b0| 01 ec 0a 4d 61 72 63 68 | 20 31 39 38 38 00 00 20 |...March| 1988.. |
|000058c0| 00 2f 00 58 00 2f 02 1d | 00 2c 00 0a 00 16 07 43 |./.X./..|.,.....C|
|000058d0| 6f 75 72 69 65 72 00 03 | 00 16 00 0d 00 09 00 a1 |ourier..|........|
|000058e0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 00 00 50 00 5a |.d..ONLN|.d...P.Z|
|000058f0| 00 5b 01 cc 00 28 00 58 | 00 5a 4a 3b 20 41 20 74 |.[...(.X|.ZJ; A t|
|00005900| 65 6d 70 6c 61 74 65 20 | 69 6e 20 4d 50 57 20 41 |emplate |in MPW A|
|00005910| 73 73 65 6d 62 6c 65 72 | 20 64 65 73 63 72 69 62 |ssembler| describ|
|00005920| 65 73 20 74 68 65 20 6c | 61 79 6f 75 74 20 6f 66 |es the l|ayout of|
|00005930| 20 61 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 20 6f 66 | a colle|ction of|
|00005940| 20 64 61 74 61 00 00 a1 | 00 64 00 10 4f 4e 4c 4e | data...|.d..ONLN|
|00005950| 00 64 00 4c 00 5a 00 5a | 00 65 01 d6 00 2a 0a 4c |.d.L.Z.Z|.e...*.L|
|00005960| 3b 20 77 69 74 68 6f 75 | 74 20 61 63 74 75 61 6c |; withou|t actual|
|00005970| 6c 79 20 61 6c 6c 6f 63 | 61 74 69 6e 67 20 61 6e |ly alloc|ating an|
|00005980| 79 20 6d 65 6d 6f 72 79 | 20 73 70 61 63 65 2e 20 |y memory| space. |
|00005990| 41 20 74 65 6d 70 6c 61 | 74 65 20 64 65 66 69 6e |A templa|te defin|
|000059a0| 69 74 69 6f 6e 20 73 74 | 61 72 74 73 00 a1 00 64 |ition st|arts...d|
|000059b0| 00 10 4f 4e 4c 4e 00 64 | 00 9a 00 64 00 5a 00 6f |..ONLN.d|...d.Z.o|
|000059c0| 01 7c 00 2a 0a 3a 3b 20 | 77 69 74 68 20 61 20 52 |.|.*.:; |with a R|
|000059d0| 45 43 4f 52 44 20 64 69 | 72 65 63 74 69 76 65 20 |ECORD di|rective |
|000059e0| 61 6e 64 20 65 6e 64 73 | 20 77 69 74 68 20 61 6e |and ends| with an|
|000059f0| 20 45 4e 44 52 20 64 69 | 72 65 63 74 69 76 65 2e | ENDR di|rective.|
|00005a00| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 d5 00 78 |...d..ON|LN.d...x|
|00005a10| 00 5a 00 83 01 d1 00 2a | 14 4b 3b 20 54 6f 20 69 |.Z.....*|.K; To i|
|00005a20| 6c 6c 75 73 74 72 61 74 | 65 20 68 6f 77 20 74 68 |llustrat|e how th|
|00005a30| 65 20 74 65 6d 70 6c 61 | 74 65 20 74 79 70 65 20 |e templa|te type |
|00005a40| 66 65 61 74 75 72 65 20 | 77 6f 72 6b 73 2c 20 74 |feature |works, t|
|00005a50| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 74 65 6d |he follo|wing tem|
|00005a60| 70 6c 61 74 65 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |plate...|.d..ONLN|
|00005a70| 00 64 01 22 00 82 00 5a | 00 8d 01 db 00 2a 0a 4d |.d."...Z|.....*.M|
|00005a80| 3b 20 69 73 20 64 65 63 | 6c 61 72 65 64 20 61 6e |; is dec|lared an|
|00005a90| 64 20 75 73 65 64 2e 20 | 42 79 20 75 73 69 6e 67 |d used. |By using|
|00005aa0| 20 74 68 69 73 2c 20 74 | 68 65 20 61 73 73 65 6d | this, t|he assem|
|00005ab0| 62 6c 65 72 20 73 6f 75 | 72 63 65 20 61 70 70 72 |bler sou|rce appr|
|00005ac0| 6f 6d 69 78 61 74 65 73 | 20 76 65 72 79 00 00 a1 |omixates| very...|
|00005ad0| 00 64 00 10 4f 4e 4c 4e | 00 64 01 71 00 8c 00 5a |.d..ONLN|.d.q...Z|
|00005ae0| 00 97 01 b8 00 2a 0a 46 | 3b 20 63 6c 6f 73 65 6c |.....*.F|; closel|
|00005af0| 79 20 50 61 73 63 61 6c | 20 73 6f 75 72 63 65 20 |y Pascal| source |
|00005b00| 66 6f 72 20 72 65 66 65 | 72 65 6e 63 69 6e 67 20 |for refe|rencing |
|00005b10| 74 68 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |the corr|espondin|
|00005b20| 67 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 2e 00 a1 |g inform|ation...|
|00005b30| 00 64 00 10 4f 4e 4c 4e | 00 64 01 b8 00 a0 00 5a |.d..ONLN|.d.....Z|
|00005b40| 00 ab 00 fa 00 2a 14 20 | 3b 74 65 6d 70 6c 61 74 |.....*. |;templat|
|00005b50| 65 20 66 6f 72 20 6f 75 | 72 20 74 61 62 6c 65 20 |e for ou|r table |
|00005b60| 65 6c 65 6d 65 6e 74 73 | 00 a1 00 64 00 10 4f 4e |elements|...d..ON|
|00005b70| 4c 4e 00 64 01 d9 00 aa | 00 5a 00 b5 00 8c 00 2a |LN.d....|.Z.....*|
|00005b80| 0a 0a 53 69 67 45 6c 65 | 6d 65 6e 74 00 a1 00 64 |..SigEle|ment...d|
|00005b90| 00 10 4f 4e 4c 4e 00 64 | 01 e4 00 aa 00 a2 00 b5 |..ONLN.d|........|
|00005ba0| 00 c0 00 29 48 06 52 45 | 43 4f 52 44 00 a1 00 64 |...)H.RE|CORD...d|
|00005bb0| 00 10 4f 4e 4c 4e 00 64 | 01 eb 00 aa 00 c6 00 b5 |..ONLN.d|........|
|00005bc0| 00 cb 00 29 24 01 30 00 | 00 a1 00 64 00 10 4f 4e |...)$.0.|...d..ON|
|00005bd0| 4c 4e 00 64 01 ee 00 aa | 01 0e 00 b5 01 ae 00 29 |LN.d....|.......)|
|00005be0| 48 20 3b 74 68 65 20 7a | 65 72 6f 20 69 73 20 74 |H ;the z|ero is t|
|00005bf0| 68 65 20 74 65 6d 70 6c | 61 74 65 20 6f 72 69 67 |he templ|ate orig|
|00005c00| 69 6e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 0f |in...d..|ONLN.d..|
|00005c10| 00 b4 00 5a 00 bf 00 73 | 00 28 00 bc 00 5a 05 53 |...Z...s|.(...Z.S|
|00005c20| 69 67 53 50 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |igSP...d|..ONLN.d|
|00005c30| 02 15 00 b4 00 7e 00 bf | 00 92 00 29 24 04 44 53 |.....~..|...)$.DS|
|00005c40| 2e 4c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 1a |.L...d..|ONLN.d..|
|00005c50| 00 b4 00 a2 00 bf 00 a7 | 00 29 24 01 31 00 00 a1 |........|.)$.1...|
|00005c60| 00 64 00 10 4f 4e 4c 4e | 00 64 02 1e 00 b4 01 0e |.d..ONLN|.d......|
|00005c70| 00 bf 01 f9 00 29 6c 2f | 3b 74 68 65 20 53 50 20 |.....)l/|;the SP |
|00005c80| 61 74 20 74 68 65 20 43 | 61 74 63 68 53 69 67 6e |at the C|atchSign|
|00005c90| 61 6c d1 28 44 53 2e 4c | 20 6a 75 73 74 20 6c 69 |al.(DS.L| just li|
|00005ca0| 6b 65 20 45 51 55 29 00 | 00 a1 00 64 00 10 4f 4e |ke EQU).|...d..ON|
|00005cb0| 4c 4e 00 64 02 4e 00 be | 00 5a 00 c9 00 8c 00 28 |LN.d.N..|.Z.....(|
|00005cc0| 00 c6 00 5a 0a 53 69 67 | 52 65 74 41 64 64 72 00 |...Z.Sig|RetAddr.|
|00005cd0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 59 00 be |...d..ON|LN.d.Y..|
|00005ce0| 00 a2 00 c9 00 b6 00 29 | 48 04 44 53 2e 4c 00 a1 |.......)|H.DS.L..|
|00005cf0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 5e 00 be 00 c6 |.d..ONLN|.d.^....|
|00005d00| 00 c9 00 cb 00 29 24 01 | 31 00 00 a1 00 64 00 10 |.....)$.|1....d..|
|00005d10| 4f 4e 4c 4e 00 64 02 61 | 00 be 01 0e 00 c9 01 e5 |ONLN.d.a|........|
|00005d20| 00 29 48 2b 3b 74 68 65 | 20 61 64 64 72 65 73 73 |.)H+;the| address|
|00005d30| 20 77 68 65 72 65 20 74 | 68 65 20 43 61 74 63 68 | where t|he Catch|
|00005d40| 53 69 67 6e 61 6c 20 72 | 65 74 75 72 6e 65 64 00 |Signal r|eturned.|
|00005d50| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 8d 00 c8 |...d..ON|LN.d....|
|00005d60| 00 5a 00 d3 00 7d 00 28 | 00 d0 00 5a 07 53 69 67 |.Z...}.(|...Z.Sig|
|00005d70| 46 52 65 74 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |FRet...d|..ONLN.d|
|00005d80| 02 95 00 c8 00 a2 00 d3 | 00 b6 00 29 48 04 44 53 |........|...)H.DS|
|00005d90| 2e 4c 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 9a |.L...d..|ONLN.d..|
|00005da0| 00 c8 00 c6 00 d3 00 cb | 00 29 24 01 31 00 00 a1 |........|.)$.1...|
|00005db0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 9d 00 c8 01 0e |.d..ONLN|.d......|
|00005dc0| 00 d3 01 b3 00 29 48 21 | 3b 72 65 74 75 72 6e 20 |.....)H!|;return |
|00005dd0| 61 64 64 72 2e 20 66 6f | 72 20 65 6e 63 6c 2e 20 |addr. fo|r encl. |
|00005de0| 70 72 6f 63 65 64 75 72 | 65 00 00 a1 00 64 00 10 |procedur|e....d..|
|00005df0| 4f 4e 4c 4e 00 64 02 bf | 00 d2 00 5a 00 dd 00 87 |ONLN.d..|...Z....|
|00005e00| 00 28 00 da 00 5a 09 53 | 69 67 45 6c 53 69 7a 65 |.(...Z.S|igElSize|
|00005e10| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 c9 00 d2 |...d..ON|LN.d....|
|00005e20| 00 a2 00 dd 00 b1 00 29 | 48 03 45 51 55 00 00 a1 |.......)|H.EQU...|
|00005e30| 00 64 00 10 4f 4e 4c 4e | 00 64 02 cd 00 d2 00 c6 |.d..ONLN|.d......|
|00005e40| 00 dd 00 cb 00 29 24 01 | 2a 00 00 a1 00 64 00 10 |.....)$.|*....d..|
|00005e50| 4f 4e 4c 4e 00 64 02 d0 | 00 d2 01 0e 00 dd 01 63 |ONLN.d..|.......c|
|00005e60| 00 29 48 11 3b 6a 75 73 | 74 20 6c 69 6b 65 20 45 |.)H.;jus|t like E|
|00005e70| 51 55 20 31 32 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |QU 12...|.d..ONLN|
|00005e80| 00 64 02 e3 00 dc 00 7e | 00 e7 00 92 00 28 00 e4 |.d.....~|.....(..|
|00005e90| 00 7e 04 45 4e 44 52 00 | 00 a1 00 64 00 10 4f 4e |.~.ENDR.|...d..ON|
|00005ea0| 4c 4e 00 64 02 e8 00 fa | 00 5a 01 05 01 c2 00 28 |LN.d....|.Z.....(|
|00005eb0| 01 02 00 5a 48 3b 20 54 | 68 65 20 67 6c 6f 62 61 |...ZH; T|he globa|
|00005ec0| 6c 20 64 61 74 61 20 75 | 73 65 64 20 62 79 20 74 |l data u|sed by t|
|00005ed0| 68 65 73 65 20 72 6f 75 | 74 69 6e 65 73 20 66 6f |hese rou|tines fo|
|00005ee0| 6c 6c 6f 77 73 2e 20 49 | 74 20 69 73 20 69 6e 20 |llows. I|t is in |
|00005ef0| 74 68 65 20 66 6f 72 6d | 20 6f 66 20 61 00 00 a1 |the form| of a...|
|00005f00| 00 64 00 10 4f 4e 4c 4e | 00 64 03 32 01 04 00 5a |.d..ONLN|.d.2...Z|
|00005f10| 01 0f 01 d6 00 2a 0a 4c | 3b 20 52 45 43 4f 52 44 |.....*.L|; RECORD|
|00005f20| 2c 20 62 75 74 2c 20 75 | 6e 6c 69 6b 65 20 61 62 |, but, u|nlike ab|
|00005f30| 6f 76 65 2c 20 6e 6f 20 | 6f 72 69 67 69 6e 20 69 |ove, no |origin i|
|00005f40| 73 20 73 70 65 63 69 66 | 69 65 64 2c 20 77 68 69 |s specif|ied, whi|
|00005f50| 63 68 20 6d 65 61 6e 73 | 20 74 68 61 74 20 6d 65 |ch means| that me|
|00005f60| 6d 6f 72 79 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |mory...d|..ONLN.d|
|00005f70| 03 80 01 0e 00 5a 01 19 | 00 e6 00 2a 0a 1c 3b 20 |.....Z..|...*..; |
|00005f80| 73 70 61 63 65 20 2a 77 | 69 6c 6c 2a 20 62 65 20 |space *w|ill* be |
|00005f90| 61 6c 6c 6f 63 61 74 65 | 64 2e 00 a1 00 64 00 10 |allocate|d....d..|
|00005fa0| 4f 4e 4c 4e 00 64 03 9d | 01 18 00 5a 01 23 01 cc |ONLN.d..|...Z.#..|
|00005fb0| 00 2a 0a 4a 3b 20 54 68 | 69 73 20 64 61 74 61 20 |.*.J; Th|is data |
|00005fc0| 69 73 20 72 65 66 65 72 | 65 6e 63 65 64 20 74 68 |is refer|enced th|
|00005fd0| 72 6f 75 67 68 20 61 20 | 57 49 54 48 20 73 74 61 |rough a |WITH sta|
|00005fe0| 74 65 6d 65 6e 74 20 61 | 74 20 74 68 65 20 62 65 |tement a|t the be|
|00005ff0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 65 00 a1 |ginning |of the..|
|00006000| 00 64 00 10 4f 4e 4c 4e | 00 64 03 e9 01 22 00 5a |.d..ONLN|.d...".Z|
|00006010| 01 2d 01 d1 00 2a 0a 4b | 3b 20 70 72 6f 63 73 20 |.-...*.K|; procs |
|00006020| 74 68 61 74 20 6e 65 65 | 64 20 74 6f 20 67 65 74 |that nee|d to get|
|00006030| 20 61 74 20 74 68 69 73 | 20 64 61 74 61 2e 20 53 | at this| data. S|
|00006040| 69 6e 63 65 20 74 68 65 | 20 41 73 73 65 6d 62 6c |ince the| Assembl|
|00006050| 65 72 20 6b 6e 6f 77 73 | 20 77 68 65 6e 20 69 74 |er knows| when it|
|00006060| 20 69 73 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 | is....d|..ONLN.d|
|00006070| 04 36 01 2c 00 5a 01 37 | 01 d6 00 2a 0a 4c 3b 20 |.6.,.Z.7|...*.L; |
|00006080| 72 65 66 65 72 65 6e 63 | 69 6e 67 20 64 61 74 61 |referenc|ing data|
|00006090| 20 69 6e 20 61 20 64 61 | 74 61 20 6d 6f 64 75 6c | in a da|ta modul|
|000060a0| 65 20 28 73 69 6e 63 65 | 20 74 68 65 79 20 6d 75 |e (since| they mu|
|000060b0| 73 74 20 62 65 20 64 65 | 63 6c 61 72 65 64 20 62 |st be de|clared b|
|000060c0| 65 66 6f 72 65 20 74 68 | 65 79 00 a1 00 64 00 10 |efore th|ey...d..|
|000060d0| 4f 4e 4c 4e 00 64 04 84 | 01 36 00 5a 01 41 01 d6 |ONLN.d..|.6.Z.A..|
|000060e0| 00 2a 0a 4c 3b 20 61 72 | 65 20 61 63 63 65 73 73 |.*.L; ar|e access|
|000060f0| 65 64 29 2c 20 61 6e 64 | 20 73 69 6e 63 65 20 73 |ed), and| since s|
|00006100| 75 63 68 20 64 61 74 61 | 20 63 61 6e 20 6f 6e 6c |uch data| can onl|
|00006110| 79 20 62 65 20 61 63 63 | 65 73 73 65 64 20 62 61 |y be acc|essed ba|
|00006120| 73 65 64 20 6f 6e 20 41 | 35 2c 20 74 68 65 72 65 |sed on A|5, there|
|00006130| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 d2 01 40 |...d..ON|LN.d...@|
|00006140| 00 5a 01 4b 01 d1 00 2a | 0a 4b 3b 20 69 73 20 6e |.Z.K...*|.K; is n|
|00006150| 6f 20 6e 65 65 64 20 74 | 6f 20 65 78 70 6c 69 63 |o need t|o explic|
|00006160| 69 74 6c 79 20 73 70 65 | 63 69 66 79 20 41 35 20 |itly spe|cify A5 |
|00006170| 69 6e 20 61 6e 79 20 63 | 6f 64 65 20 77 68 69 63 |in any c|ode whic|
|00006180| 68 20 72 65 66 65 72 65 | 6e 63 65 73 20 74 68 65 |h refere|nces the|
|00006190| 20 64 61 74 61 00 00 a1 | 00 64 00 10 4f 4e 4c 4e | data...|.d..ONLN|
|000061a0| 00 64 05 1f 01 4a 00 5a | 01 55 01 c7 00 2a 0a 49 |.d...J.Z|.U...*.I|
|000061b0| 3b 20 28 75 6e 6c 65 73 | 73 20 69 6e 64 65 78 69 |; (unles|s indexi|
|000061c0| 6e 67 20 69 73 20 75 73 | 65 64 29 2e 20 54 68 75 |ng is us|ed). Thu|
|000061d0| 73 2c 20 69 6e 20 74 68 | 69 73 20 70 72 6f 67 72 |s, in th|is progr|
|000061e0| 61 6d 20 77 65 20 68 61 | 76 65 20 6f 6d 69 74 74 |am we ha|ve omitt|
|000061f0| 65 64 20 61 6c 6c 20 41 | 35 00 00 a1 00 64 00 10 |ed all A|5....d..|
|00006200| 4f 4e 4c 4e 00 64 05 6a | 01 54 00 5a 01 5f 01 1d |ONLN.d.j|.T.Z._..|
|00006210| 00 2a 0a 27 3b 20 72 65 | 66 65 72 65 6e 63 65 73 |.*.'; re|ferences|
|00006220| 20 77 68 65 6e 20 72 65 | 66 65 72 65 6e 63 69 6e | when re|ferencin|
|00006230| 67 20 74 68 65 20 64 61 | 74 61 2e 00 00 a1 00 64 |g the da|ta.....d|
|00006240| 00 10 4f 4e 4c 4e 00 64 | 05 92 01 68 00 5a 01 73 |..ONLN.d|...h.Z.s|
|00006250| 00 af 00 2a 14 11 53 69 | 67 47 6c 6f 62 61 6c 73 |...*..Si|gGlobals|
|00006260| 20 52 45 43 4f 52 44 00 | 00 a1 00 64 00 10 4f 4e | RECORD.|...d..ON|
|00006270| 4c 4e 00 64 05 a5 01 68 | 00 ea 01 73 01 a8 00 29 |LN.d...h|...s...)|
|00006280| 90 26 3b 6e 6f 20 6f 72 | 69 67 69 6e 20 6d 65 61 |.&;no or|igin mea|
|00006290| 6e 73 20 74 68 69 73 20 | 69 73 20 61 20 64 61 74 |ns this |is a dat|
|000062a0| 61 20 72 65 63 6f 72 64 | 00 a1 00 64 00 10 4f 4e |a record|...d..ON|
|000062b0| 4c 4e 00 64 05 d0 01 72 | 00 ea 01 7d 01 67 00 2a |LN.d...r|...}.g.*|
|000062c0| 0a 19 3b 6e 6f 74 20 61 | 20 74 65 6d 70 6c 61 74 |..;not a| templat|
|000062d0| 65 28 61 73 20 61 62 6f | 76 65 29 00 00 a1 00 64 |e(as abo|ve)....d|
|000062e0| 00 10 4f 4e 4c 4e 00 64 | 05 ea 01 7c 00 5a 01 87 |..ONLN.d|...|.Z..|
|000062f0| 00 78 00 28 01 84 00 5a | 06 53 69 67 45 6e 64 00 |.x.(...Z|.SigEnd.|
|00006300| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 f1 01 7c |...d..ON|LN.d...||
|00006310| 00 7e 01 87 00 92 00 29 | 24 04 44 53 2e 4c 00 a1 |.~.....)|$.DS.L..|
|00006320| 00 64 00 10 4f 4e 4c 4e | 00 64 05 f6 01 7c 00 a2 |.d..ONLN|.d...|..|
|00006330| 01 87 00 a7 00 29 24 01 | 31 00 00 a1 00 64 00 10 |.....)$.|1....d..|
|00006340| 4f 4e 4c 4e 00 64 05 f9 | 01 7c 00 ea 01 87 01 53 |ONLN.d..|.|.....S|
|00006350| 00 29 48 15 3b 63 75 72 | 72 65 6e 74 20 65 6e 64 |.)H.;cur|rent end|
|00006360| 20 6f 66 20 74 61 62 6c | 65 00 00 a1 00 64 00 10 | of tabl|e....d..|
|00006370| 4f 4e 4c 4e 00 64 06 0f | 01 86 00 5a 01 91 00 78 |ONLN.d..|...Z...x|
|00006380| 00 28 01 8e 00 5a 06 53 | 69 67 4e 6f 77 00 00 a1 |.(...Z.S|igNow...|
|00006390| 00 64 00 10 4f 4e 4c 4e | 00 64 06 16 01 86 00 7e |.d..ONLN|.d.....~|
|000063a0| 01 91 00 92 00 29 24 04 | 44 53 2e 4c 00 a1 00 64 |.....)$.|DS.L...d|
|000063b0| 00 10 4f 4e 4c 4e 00 64 | 06 1b 01 86 00 a2 01 91 |..ONLN.d|........|
|000063c0| 00 a7 00 29 24 01 31 00 | 00 a1 00 64 00 10 4f 4e |...)$.1.|...d..ON|
|000063d0| 4c 4e 00 64 06 1e 01 86 | 00 ea 01 91 01 3a 00 29 |LN.d....|.....:.)|
|000063e0| 48 10 3b 74 68 65 20 4d | 52 55 20 65 6c 65 6d 65 |H.;the M|RU eleme|
|000063f0| 6e 74 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 06 2f |nt...d..|ONLN.d./|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.